From dce03955174abe5ad83c01c930e3bf47fe39d8ce Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 30 Dec 2024 01:23:40 +0000 Subject: Revamp --- util.go | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 util.go (limited to 'util.go') 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 -} -- cgit v1.2.3