Documentation ¶
Index ¶
- func Camel(s string) string
- func Contains(s []string, str string) bool
- func Empty(val interface{}) bool
- func FirstElement(args []string) string
- func LowerCamel(s string) string
- func MicrosecondsStr(elapsed time.Duration) string
- func Plural(word string) string
- func RandomNumber(length int) string
- func RandomNumberRange(min float64, max float64, precision int) float64
- func RandomString(length int) string
- func RandomWeightedIndex(weights []float32) int
- func Singular(word string) string
- func Snake(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirstElement ¶
func LowerCamel ¶
func MicrosecondsStr ¶
func RandomNumber ¶
func RandomString ¶
func RandomWeightedIndex ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.