Initial commit

This commit is contained in:
AlexSSD7 2023-08-25 15:12:19 +01:00
commit b905244626
17 changed files with 1462 additions and 0 deletions

15
utils/utils.go Normal file
View file

@ -0,0 +1,15 @@
package utils
import (
"strings"
"unicode"
)
func ClearUnprintableChars(s string) string {
return strings.Map(func(r rune) rune {
if unicode.IsPrint(r) {
return r
}
return -1
}, s)
}