Documentation
¶
Index ¶
- Constants
- func Add(data []string, otherList []string) []string
- func Equals(data []string, otherList []string) bool
- func FileExtension(str string) string
- func Format(formatStr string, a ...interface{}) string
- func GenerateRandomString(length int) string
- func GenerateRandomStringSpecial(length int) string
- func Includes(data []string, arg string) bool
- func Jaro(s1, s2 string) float64
- func JaroWinkler(s1, s2 string) (distance float64)
- func Ordinise(number int) string
- func SetBoostThreshold(bt float64) error
- func SetPrefixScale(p float64) error
- func Subtract(data []string, excludeList []string) []string
- func ToCamel(s string) string
- func ToCamelLower(s string) string
- func ToMilitary(s string) string
- func ToMorse(s string) string
- func ToOrdinise(number int) string
- func ToReverse(s string) string
- func ToSnake(s string) string
- func ToSnakeUpper(s string) string
- func ToSpinal(s string) string
- func ToTitle(str string) string
- func ToTrain(s string) string
Constants ¶
View Source
const CONSONANTS = "bcdfghjklmnpqrstvwxyz"
View Source
const LOWERCASE = "abcdefghijklmnopqrstuvwxyz"
View Source
const MAXPREFIXLENGTH = 4
View Source
const NUMBERS = "1234567890"
View Source
const SPECIALS = "!@#$%^&*-_"
View Source
const UPPERCASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
View Source
const VOWELS = "aeoui"
Variables ¶
This section is empty.
Functions ¶
func FileExtension ¶
File/////////////////////////////////////////////////////////////////////
func GenerateRandomString ¶
Random String////////////////////////////////////////////////////////////
func JaroWinkler ¶
jaroWinkler////////////////////////////////////////////////////////////////
func SetBoostThreshold ¶
func SetPrefixScale ¶
func ToCamelLower ¶
func ToMilitary ¶
Military/////////////////////////////////////////////////////////////////
func ToOrdinise ¶
func ToSnakeUpper ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.