aboutsummaryrefslogtreecommitdiff
path: root/internal/nametransform/raw64_go1.5.go
blob: 1896be3f1b02320078bd1416bc1085b21783d01e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//+build go1.5

package nametransform

import (
	"encoding/base64"
)

const (
	// HaveRaw64 is true when Go is new enough to have base64.RawURLEncoding
	HaveRaw64 = true
)

func getRaw64Encoding() *base64.Encoding {
	return base64.RawURLEncoding
}