使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
writeas
/
go-writeas
镜像自地址
https://github.com/writeas/go-writeas.git
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
9
动态
浏览代码
Add expected output on examples
pull/6/head
Matt Baer
6 年前
父节点
b2c6f21081
当前提交
fbe1c5830b
共有
2 个文件被更改
,包括
4 次插入
和
2 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+2
-1
collection_test.go
+2
-1
post_test.go
+ 2
- 1
collection_test.go
查看文件
@@ -39,5 +39,6 @@ func ExampleClient_GetCollection() {
fmt.Printf("%v", err)
return
}
fmt.Printf("%+v", coll)
fmt.Printf("%s", coll.Title)
// Output: write.as
}
+ 2
- 1
post_test.go
查看文件
@@ -87,5 +87,6 @@ func ExampleClient_CreatePost() {
return
}
fmt.Printf("%+v", p)
fmt.Printf("%s", p.Content)
// Output: This is a post.
}
撰写
预览
正在加载...
取消
保存