diff options
Diffstat (limited to 'util.go')
-rw-r--r-- | util.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/util.go b/util.go deleted file mode 100644 index 8754348..0000000 --- a/util.go +++ /dev/null @@ -1,17 +0,0 @@ -package main - -func trimInitialSpaces(line string) string { - var i int - for i = 0; i < len(line) && line[i] == ' '; i++ { - } - return line[i:] -} - -func isASCII(str string) bool { - for i := 0; i < len(str); i++ { - if str[i] > 127 { - return false - } - } - return true -} |