summaryrefslogtreecommitdiff
path: root/internal/nametransform/raw64_go1.4.go
blob: bbffb69f17f3803a53e17581399be9dc02d3a6f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//+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
}