mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-31 08:49:15 +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
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func ReplaceEmptyString(word string, replacement string) string {
|
|
||||||
if OnlyWhitespace(word) {
|
|
||||||
return replacement
|
|
||||||
}
|
|
||||||
return word
|
|
||||||
}
|
|
||||||
|
|
||||||
func HashString(s string) string {
|
func HashString(s string) string {
|
||||||
hash := sha256.New()
|
hash := sha256.New()
|
||||||
hash.Write([]byte(s))
|
hash.Write([]byte(s))
|
||||||
|
Reference in New Issue
Block a user