summaryrefslogtreecommitdiffstats
path: root/lib/b64.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/b64.go
parent4b68263ea32cab3ecc70575c257de407fa703f07 (diff)
lib: stripSpaceChars -> StripSpaceChars
Diffstat (limited to 'lib/b64.go')
-rw-r--r--lib/b64.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/b64.go b/lib/b64.go
index f8a8de8..67f3528 100644
--- a/lib/b64.go
+++ b/lib/b64.go
@@ -20,7 +20,7 @@ func HexToBase64(hex string) string {
}
func Base64ToBytes(enc string) []byte {
- enc = stripSpaceChars(enc)
+ enc = StripSpaceChars(enc)
l := len(enc)
bs := make([]byte, 3*(l/4))