Documentation ¶
Index ¶
- Variables
- func Float64s(length int) []float64
- func Ints(min int, max int, length int) []int
- func Password(length int, otherChar string) string
- func Shuffle[T IntUintStringFloat](t []T) []T
- func ShuffleAny(t []any) []any
- func Slice[T IntUintStringFloat](t []T, length int) []T
- func SliceAny(t []any, length int) []any
- func String(t TemplateString, length int) string
- type IntUintStringFloat
- type TemplateString
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type IntUintStringFloat ¶
type TemplateString ¶
type TemplateString string
const ( TemplateString_0_9 TemplateString = `1234567890` TemplateString_a_z TemplateString = `abcdefghijklmnopqrstuvwxyz` TemplateString_A_Z TemplateString = `ABCDEFGHIJKLMNOPQRSTUVWXYZ` TemplateString_0_9_a_f TemplateString = `1234567890abcdef` TemplateString_0_9_a_z TemplateString = `1234567890abcdefghijklmnopqrstuvwxyz` TemplateString_0_9_A_F TemplateString = `1234567890ABCDEF` TemplateString_0_9_A_Z TemplateString = `1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ` TemplateString_a_z_A_Z TemplateString = `abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ` TemplateString_0_9_a_z_A_Z TemplateString = `1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ` )
Click to show internal directories.
Click to hide internal directories.