Bugfixes and freedback addressing

This commit is contained in:
2017-10-08 18:42:48 +02:00
parent f471aed610
commit e31d994d4b
7 changed files with 12 additions and 13 deletions
-3
View File
@@ -3,7 +3,6 @@ package formparser
import (
"errors"
"fmt"
"log"
"time"
)
@@ -31,8 +30,6 @@ func Select(value string, target *string, allowedValues []string, optional bool)
return nil
}
log.Println(value, allowedValues)
for _, allowedValue := range allowedValues {
if value == allowedValue {
*target = value