2016-11-01 19:20:55 +01:00
|
|
|
//+build go1.5
|
|
|
|
|
|
|
|
package nametransform
|
|
|
|
|
|
|
|
import (
|
|
|
|
"encoding/base64"
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
2016-11-10 00:38:01 +01:00
|
|
|
// HaveRaw64 is true when Go is new enough to have base64.RawURLEncoding
|
2016-11-01 19:20:55 +01:00
|
|
|
HaveRaw64 = true
|
|
|
|
)
|
|
|
|
|
|
|
|
func getRaw64Encoding() *base64.Encoding {
|
|
|
|
return base64.RawURLEncoding
|
|
|
|
}
|