Documentation ¶
Index ¶
Constants ¶
View Source
const (
Default = "0123456789bcdefghjkmnpqrstuvwxyz"
)
Variables ¶
View Source
var (
ErrNotSupport = errors.New("not support, string len must be 32 or 64")
)
Functions ¶
func SetDefault ¶
func SetDefault(e *Encoding)
Types ¶
type Encoding ¶
type Encoding struct {
// contains filtered or unexported fields
}
base32或者base64 将uint64转换为string https://github.com/mmcloughlin/geohash/blob/master/base32.go
func NewEncoding ¶
Click to show internal directories.
Click to hide internal directories.