mirror of
https://github.com/status-im/status-go.git
synced 2025-02-22 19:58:29 +00:00
15 lines
305 B
Go
15 lines
305 B
Go
|
//go:build purego || !amd64
|
||
|
// +build purego !amd64
|
||
|
|
||
|
package base64
|
||
|
|
||
|
import "encoding/base64"
|
||
|
|
||
|
// An Encoding is a radix 64 encoding/decoding scheme, defined by a
|
||
|
// 64-character alphabet.
|
||
|
type Encoding = base64.Encoding
|
||
|
|
||
|
func newEncoding(encoder string) *Encoding {
|
||
|
return base64.NewEncoding(encoder)
|
||
|
}
|