From eb7a804ca80829c56c40daa409ebe57632e92aec Mon Sep 17 00:00:00 2001 From: Steve Phillips Date: Sun, 15 Jan 2017 05:57:16 -0800 Subject: [PATCH] kv.go: Fixed []byte to string conversion syntax in comment --- clientv3/kv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientv3/kv.go b/clientv3/kv.go index 89480a3e4..7b529ef76 100644 --- a/clientv3/kv.go +++ b/clientv3/kv.go @@ -32,7 +32,7 @@ type KV interface { // Put puts a key-value pair into etcd. // Note that key,value can be plain bytes array and string is // an immutable representation of that bytes array. - // To get a string of bytes, do string([]byte(0x10, 0x20)). + // To get a string of bytes, do string([]byte{0x10, 0x20}). Put(ctx context.Context, key, val string, opts ...OpOption) (*PutResponse, error) // Get retrieves keys.