From d830e02f7b6c7fdf4deaba5ad5b6d79501219476 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sun, 6 Sep 2020 22:34:28 -0400 Subject: lib: AlphaScore -> AlphaPunchScore * lib/str.go (AlphaScore): Rename to... (AlphaPunchScore): ...this. --- lib/str.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/str.go') diff --git a/lib/str.go b/lib/str.go index 67b6753..9112a14 100644 --- a/lib/str.go +++ b/lib/str.go @@ -40,7 +40,7 @@ func stripSpaceChars(s string) string { return ss } -func AlphaScore(bs []byte) int { +func AlphaPunchScore(bs []byte) int { s := 0 for i := 0; i < len(bs); i++ { if isAlphaPunch(bs[i]) { -- cgit v1.2.3