From 21f8c90c41bcee58e4c1fbea52e299dc45c2051e Mon Sep 17 00:00:00 2001 From: Daniel Roux Date: Sun, 17 May 2020 19:23:29 +0200 Subject: [PATCH] Fix comment typos on prompt.go Some of comments for the `PromptTemplates` struct were not correct. --- prompt.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prompt.go b/prompt.go index 97ff373..26581fd 100644 --- a/prompt.go +++ b/prompt.go @@ -74,7 +74,7 @@ type PromptTemplates struct { // Prompt is a text/template for the prompt label displayed on the left side of the prompt. Prompt string - // Prompt is a text/template for the prompt label when IsConfirm is set as true. + // Confirm is a text/template for the prompt label when IsConfirm is set as true. Confirm string // Valid is a text/template for the prompt label when the value entered is valid. @@ -88,7 +88,7 @@ type PromptTemplates struct { // inside the console. Success string - // Prompt is a text/template for the prompt label when the value is invalid due to an error triggered by + // ValidationError is a text/template for the prompt label when the value is invalid due to an error triggered by // the prompt's validation function. ValidationError string