d15122d3d6
Using raw64 will not work, but at least it will compile.
19 lines
291 B
Go
19 lines
291 B
Go
//+build !go1.5
|
|
|
|
package nametransform
|
|
|
|
import (
|
|
"encoding/base64"
|
|
"log"
|
|
)
|
|
|
|
const (
|
|
HaveRaw64 = false
|
|
)
|
|
|
|
func getRaw64Encoding() *base64.Encoding {
|
|
log.Panicf("Tried to use base64.RawURLEncoding but your Go version does not provide it.\n" +
|
|
"You need Go 1.5 or higher.")
|
|
return nil
|
|
}
|