示例#1
0
func insertTestDoc(doc couch.Identifiable, db *couch.Database, t *testing.T) {
	err := db.Insert(doc)
	if err != nil {
		t.Fatal("Inserted new document, error:", err)
	}
}