Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
Hjälp
Logga in
writeas
/
go-writeas
spegling av
https://github.com/writeas/go-writeas.git
Bevaka
1
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
0
Släpp
9
Aktiviteter
Bläddra i källkod
Add expected output on examples
pull/6/head
Matt Baer
6 år sedan
förälder
b2c6f21081
incheckning
fbe1c5830b
2 ändrade filer
med
4 tillägg
och
2 borttagningar
Delad Vy
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
Visa fil
@@ -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
Visa fil
@@ -87,5 +87,6 @@ func ExampleClient_CreatePost() {
return
}
fmt.Printf("%+v", p)
fmt.Printf("%s", p.Content)
// Output: This is a post.
}
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara