adjust to ugly linting

This commit is contained in:
Michael Jerger 2023-12-29 09:43:10 +01:00
parent e704e5adcc
commit 3c2493902d
3 changed files with 4 additions and 4 deletions

View file

@ -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)}
}