adjust to ugly linting
This commit is contained in:
parent
e704e5adcc
commit
3c2493902d
3 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ func IsValid(v Validateable) (bool, error) {
|
|||
return true, nil
|
||||
}
|
||||
|
||||
func ValidateNotEmpty(value string, fieldName string) []string {
|
||||
func ValidateNotEmpty(value, fieldName string) []string {
|
||||
if value == "" {
|
||||
return []string{fmt.Sprintf("Field %v may not be empty", fieldName)}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue