Преглед на файлове

clientv3: Fix typos

Found randomly when going through docs. HTH
James Shubin преди 9 години
родител
ревизия
edca3cbe44
променени са 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
 }