瀏覽代碼

Merge pull request #5420 from purpleidea/feat/typos2

Fix typos
Gyu-Ho Lee 9 年之前
父節點
當前提交
4c36054610
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      clientv3/client.go
  2. 2 2
      clientv3/config.go

+ 2 - 2
clientv3/client.go

@@ -66,9 +66,9 @@ type Client struct {
 	newconnc    chan struct{}
 	lastConnErr error
 
-	// Username is a username of authentication
+	// Username is a username for authentication
 	Username string
-	// Password is a password of authentication
+	// Password is a password for authentication
 	Password string
 }
 

+ 2 - 2
clientv3/config.go

@@ -44,10 +44,10 @@ type Config struct {
 	// Logger is the logger used by client library.
 	Logger Logger
 
-	// Username is a username of authentication
+	// Username is a username for authentication
 	Username string
 
-	// Password is a password of authentication
+	// Password is a password for authentication
 	Password string
 }