Documentation
¶
Index ¶
- func FastInt() int
- func FastIntn(n int) int
- func FastPositiveIntn(n int) int
- func ShortID() string
- func Str(strSize int) string
- func StrAlpha(strSize int) string
- func StrAlphaNum(strSize int) string
- func StrFromDict(strSize int, dict string) string
- func StrNum(strSize int) string
- func StrUrlSafe(strSize int) string
- func UUID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FastPositiveIntn ¶
func ShortID ¶
func ShortID() string
ShortID returns a 22-character alphanumeric unique ID. Uses the base62 alphabet [0-9A-Za-z] — no hyphens, URL-safe.
func StrAlphaNum ¶
func StrFromDict ¶
func StrUrlSafe ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.