From 27e24727aba4c70e6958edcb1d4df32f14d2fe63 Mon Sep 17 00:00:00 2001 From: Elmar Kresse Date: Sat, 23 Mar 2024 19:55:51 +0100 Subject: [PATCH] feat:#39 removed unused Function --- backend/service/functions/string.go | 7 ------- 1 file changed, 7 deletions(-) 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))