Error strings should not be capitalized
voidint opened this issue · comments
voidint commented
var (
//ErrInvalid is returned if a response from user was an invalid option
ErrInvalid = errors.New("Invalid response")
//ErrTooMany is returned if multiSelect is false and a user tries to select multiple options
ErrTooMany = errors.New("Too many responses")
//ErrNoResponse is returned if there were no responses and no action to call
ErrNoResponse = errors.New("No response")
//ErrDuplicate is returned is a user selects an option twice
ErrDuplicate = errors.New("Duplicated response")
)
Will Dixon commented
Thanks for the heads up. This was one of my first Go packages before I knew all the Go idomaticacies.