remove unused & fix wording

This commit is contained in:
Michael Jerger 2024-05-01 15:23:39 +02:00
parent 87036ec719
commit 715ff0eb7f
3 changed files with 3 additions and 7 deletions

View file

@ -65,7 +65,3 @@ func ValidateOneOf(value any, allowed []any, name string) []string {
}
return []string{fmt.Sprintf("Value %v is not contained in allowed values %v", value, allowed)}
}
func ValidateSuffix(str, suffix string) bool {
return strings.HasSuffix(str, suffix)
}