rename one variable

This commit is contained in:
Dawid Wysokiński 2021-05-04 20:13:20 +02:00
parent cade63a9b7
commit d38e675c9e
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ const (
AnswerD Answer = "d"
)
func (role Answer) IsValid() bool {
switch role {
func (answer Answer) IsValid() bool {
switch answer {
case AnswerA,
AnswerB,
AnswerC,