Browse Source

clientv3/namespace: fixed an error in the doc.go

ka1em 8 years ago
parent
commit
c143545d13
1 changed files with 1 additions and 1 deletions
  1. 1 1
      clientv3/namespace/doc.go

+ 1 - 1
clientv3/namespace/doc.go

@@ -36,7 +36,7 @@
 //	fmt.Printf("%s\n", resp.Kvs[0].Value)
 //	fmt.Printf("%s\n", resp.Kvs[0].Value)
 //	// Output: 123
 //	// Output: 123
 //	unprefixedKV.Put(context.TODO(), "my-prefix/abc", "456")
 //	unprefixedKV.Put(context.TODO(), "my-prefix/abc", "456")
-//	resp, _ = cli.Get("abc")
+//	resp, _ = cli.Get(context.TODO(), "abc")
 //	fmt.Printf("%s\n", resp.Kvs[0].Value)
 //	fmt.Printf("%s\n", resp.Kvs[0].Value)
 //	// Output: 456
 //	// Output: 456
 //
 //