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 }