You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ntool/nrandom/const.go

15 lines
289 B
Go

package nrandom
const (
letterIdBits = 6
letterIdMask = 1<<letterIdBits - 1
letterIdMax = 64 / letterIdBits
)
const (
Numeral = "0123456789"
LowerLetters = "abcdefghijklmnopqrstuvwxyz"
UpperLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Letters = LowerLetters + UpperLetters
)