このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
writeas
/
go-writeas
ミラー元
https://github.com/writeas/go-writeas.git
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
リリース
9
アクティビティ
ソースを参照
Add GetCollection example
pull/6/head
Matt Baer
6年前
親
07854c5fd7
コミット
90e9560c81
1個のファイルの変更
、
11行の追加
、
0行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+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)
}
書き込み
プレビュー
読み込み中…
キャンセル
保存