Преглед изворни кода

Merge pull request #9217 from ka1em/patch-2

clientv3/namespace: fixed an error in the doc.go
Xiang Li пре 8 година
родитељ
комит
0ef5e01bd9
1 измењених фајлова са 1 додато и 1 уклоњено
  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)
 //	// Output: 123
 //	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)
 //	// Output: 456
 //