summaryrefslogtreecommitdiffstats
path: root/lib/str.go
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2021-01-30 13:56:57 -0500
committerrsiddharth <s@ricketyspace.net>2021-01-30 13:56:57 -0500
commit7dfa85eb027fc27ff858e73f1a1ff5fd5e51a89a (patch)
tree3596c34e077e90cc9aefc196b55184ce1696668a /lib/str.go
parent4b68263ea32cab3ecc70575c257de407fa703f07 (diff)
lib: stripSpaceChars -> StripSpaceChars
Diffstat (limited to 'lib/str.go')
-rw-r--r--lib/str.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/str.go b/lib/str.go
index 98b16e9..6ba9507 100644
--- a/lib/str.go
+++ b/lib/str.go
@@ -42,7 +42,7 @@ func BytesToStr(bs []byte) string {
}
// Strip space and newline characters from string.
-func stripSpaceChars(s string) string {
+func StripSpaceChars(s string) string {
ss := ""
for i := 0; i < len(s); i++ {
if s[i] == ' ' {