mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-25 05:49:13 +02:00
feat:#39 removed unused Function
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user