Просмотр исходного кода

Merge pull request #834 from sarathkumarsivan/fix-typo-prompt

Fix typo in comments against Password method attached to User struct
Guillaume Tardif 5 лет назад
Родитель
Сommit
74b35e3ef3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      prompt/prompt.go

+ 1 - 1
prompt/prompt.go

@@ -64,7 +64,7 @@ func (u User) Confirm(message string, defaultValue bool) (bool, error) {
 	return b, err
 }
 
-// Password  implemetns a text input with masked characters
+// Password implements a text input with masked characters.
 func (u User) Password(message string) (string, error) {
 	qs := &survey.Password{
 		Message: message,