diff --git a/backend/service/functions/string.go b/backend/service/functions/string.go index 1a1efb0..a874320 100644 --- a/backend/service/functions/string.go +++ b/backend/service/functions/string.go @@ -32,13 +32,6 @@ func Contains(s []string, e string) bool { return false } -func ReplaceEmptyString(word string, replacement string) string { - if OnlyWhitespace(word) { - return replacement - } - return word -} - func HashString(s string) string { hash := sha256.New() hash.Write([]byte(s))