client: Fix API example

This commit is contained in:
Marin Atanasov Nikolov 2015-09-21 10:43:19 +03:00
parent f3d2b5831c
commit d6459b8b84

View File

@ -38,6 +38,8 @@ func main() {
resp, err := kapi.Set(context.Background(), "foo", "bar", nil) resp, err := kapi.Set(context.Background(), "foo", "bar", nil)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} else {
log.Print(resp)
} }
} }
``` ```