summaryrefslogtreecommitdiffstats
path: root/lib/web.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/web.go
parent4b68263ea32cab3ecc70575c257de407fa703f07 (diff)
lib: stripSpaceChars -> StripSpaceChars
Diffstat (limited to 'lib/web.go')
-rw-r--r--lib/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web.go b/lib/web.go
index fbdd19d..191d2f2 100644
--- a/lib/web.go
+++ b/lib/web.go
@@ -32,7 +32,7 @@ func WebParseKeyValue(encoded string) map[string]string {
kvs := StrSplitAt('&', encoded)
for i := 0; i < len(kvs); i++ {
kv := StrSplitAt('=', kvs[i])
- m[stripSpaceChars(kv[0])] = kv[1]
+ m[StripSpaceChars(kv[0])] = kv[1]
}
return m
}