aboutsummaryrefslogtreecommitdiff
path: root/internal/nametransform/raw64_go1.5.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/nametransform/raw64_go1.5.go')
-rw-r--r--internal/nametransform/raw64_go1.5.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/internal/nametransform/raw64_go1.5.go b/internal/nametransform/raw64_go1.5.go
new file mode 100644
index 0000000..aa7f7fd
--- /dev/null
+++ b/internal/nametransform/raw64_go1.5.go
@@ -0,0 +1,15 @@
+//+build go1.5
+
+package nametransform
+
+import (
+ "encoding/base64"
+)
+
+const (
+ HaveRaw64 = true
+)
+
+func getRaw64Encoding() *base64.Encoding {
+ return base64.RawURLEncoding
+}