-- import "github.com/darylnwk/n36"
const (
CharRange62 = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
CharRange36 = "0123456789abcdefghijklmnopqrstuvwxyz"
)
type N36 struct {
sync.Mutex
}
N36 represents a numeric map
func New(charset string) *N36
New creates a new n36 numeric map
func (n *N36) Iton(i uint64) string
Iton converts a uint64 value to string
func (n *N36) Ntoi(s string) (uint64, error)
Ntoi converts a string to uint64
func (n *N36) Random(l int) string
Random creates an (l)-long random string based on the character set