This website works better with JavaScript.
首頁
探索
說明
登入
writeas
/
go-writeas
镜像来自
https://github.com/writeas/go-writeas.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
9
Activity
瀏覽代碼
Add GetCollection example
pull/6/head
Matt Baer
6 年之前
父節點
07854c5fd7
當前提交
90e9560c81
共有
1 個文件被更改
,包括
11 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+11
-0
collection_test.go
+ 11
- 0
collection_test.go
查看文件
@@ -1,6 +1,7 @@
package writeas
import (
"fmt"
"testing"
)
@@ -17,3 +18,13 @@ func TestGetCollection(t *testing.T) {
}
}
}
func ExampleGetCollection() {
c := NewClient()
coll, err := c.GetCollection("blog")
if err != nil {
fmt.Printf("%v", err)
return
}
fmt.Printf("%+v", coll)
}
Write
Preview
Loading…
取消
儲存