diff options
author | rsiddharth <s@ricketyspace.net> | 2021-01-30 13:56:57 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2021-01-30 13:56:57 -0500 |
commit | 7dfa85eb027fc27ff858e73f1a1ff5fd5e51a89a (patch) | |
tree | 3596c34e077e90cc9aefc196b55184ce1696668a /lib/str.go | |
parent | 4b68263ea32cab3ecc70575c257de407fa703f07 (diff) |
lib: stripSpaceChars -> StripSpaceChars
Diffstat (limited to 'lib/str.go')
-rw-r--r-- | lib/str.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] == ' ' { |