Pārlūkot izejas kodu

client: fix typo in docstring (than -> then)

Jonathan Boulle 10 gadi atpakaļ
vecāks
revīzija
5490db7cca
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      client/keys.go

+ 1 - 1
client/keys.go

@@ -106,7 +106,7 @@ type KeysAPI interface {
 
 
 	// Set assigns a new value to a Node identified by a given key. The caller
 	// Set assigns a new value to a Node identified by a given key. The caller
 	// may define a set of conditions in the SetOptions. If SetOptions.Dir=true
 	// may define a set of conditions in the SetOptions. If SetOptions.Dir=true
-	// than value is ignored.
+	// then value is ignored.
 	Set(ctx context.Context, key, value string, opts *SetOptions) (*Response, error)
 	Set(ctx context.Context, key, value string, opts *SetOptions) (*Response, error)
 
 
 	// Delete removes a Node identified by the given key, optionally destroying
 	// Delete removes a Node identified by the given key, optionally destroying