This website works better with JavaScript.
首頁
探索
說明
登入
writeas
/
go-writeas
镜像来自
https://github.com/writeas/go-writeas.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
9
Activity
瀏覽代碼
Add expected output on examples
pull/6/head
Matt Baer
6 年之前
父節點
b2c6f21081
當前提交
fbe1c5830b
共有
2 個文件被更改
,包括
4 次插入
和
2 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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.
}
Write
Preview
Loading…
取消
儲存