Versions in this module Expand all Collapse all v1 v1.0.0 Feb 20, 2016 Changes in this version + const DefaultAlphabet + const Version + type HashID struct + func New() *HashID + func NewWithData(data *HashIDData) *HashID + func (h *HashID) Decode(hash string) []int + func (h *HashID) DecodeInt64(hash string) []int64 + func (h *HashID) DecodeInt64WithError(hash string) ([]int64, error) + func (h *HashID) DecodeWithError(hash string) ([]int, error) + func (h *HashID) Encode(numbers []int) (string, error) + func (h *HashID) EncodeInt64(numbers []int64) (string, error) + type HashIDData struct + Alphabet string + MinLength int + Salt string + func NewData() *HashIDData Incompatible versions in this module v2.0.0+incompatible Jun 26, 2018 Other modules containing this package github.com/speps/go-hashids/v2