libgocryptfs/internal/nametransform/raw64_go1.5.go
Jakob Unterwurzacher e7f57695a6 Fix golint warnings
$ golint ./... | grep -v underscore | grep -v ALL_CAPS
internal/fusefrontend_reverse/rfs.go:52:36: exported func NewFS returns unexported type *fusefrontend_reverse.reverseFS, which can be annoying to use
internal/nametransform/raw64_go1.5.go:10:2: exported const HaveRaw64 should have comment (or a comment on this block) or be unexported
2016-11-10 00:38:01 +01:00

17 lines
248 B
Go

//+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
}