Documentation
¶
Index ¶
Constants ¶
View Source
const ( //CharsCaseAlphanumeric the alphanumeric include upper and lower:`0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ` CharsCaseAlphanumeric = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" //CharsUpperAlphanumeric the alphanumeric include upper:`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ` CharsUpperAlphanumeric = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" //CharsLowerAlphanumeric the alphanumeric include lower:`0123456789abcdefghijklmnopqrstuvwxyz` CharsLowerAlphanumeric = "0123456789abcdefghijklmnopqrstuvwxyz" //CharsUpperAlphabet the upper alphabet:`ABCDEFGHIJKLMNOPQRSTUVWXYZ` CharsUpperAlphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" //CharsLowerAlphabet the lower alphabet:`abcdefghijklmnopqrstuvwxyz` CharsLowerAlphabet = "abcdefghijklmnopqrstuvwxyz" //CharsHex the hex alphabet and numeric:`0123456789abcdef` CharsHex = "0123456789abcdef" //CharsNumeric the numeric:`0123456789abcdef` CharsNumeric = "0123456789" )
View Source
const ( //AlphanumericCase alphanumericType is CharsCaseAlphanumeric AlphanumericCase = iota //AlphanumericCase alphanumericType is CharsUpperAlphanumeric AlphanumericUpper //AlphanumericCase alphanumericType is CharsLowerAlphanumeric AlphanumericLower )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mixer ¶
type Mixer struct {
// contains filtered or unexported fields
}
func NewAlphanumeric ¶
MustNew must create a new mixer with alphanumeric
func NewNumeric ¶
NewNumeric must create a new mixer with numeric
func (Mixer) DecodeString ¶
DecodeString decode string
Click to show internal directories.
Click to hide internal directories.