Documentation
¶
Index ¶
- func AdvancedStringSimilarity(a string, b string) float64
- func Capitalize(s string) string
- func ContainsUnicodeLetters(s string) bool
- func Plural(count int, singular string) string
- func PrettyPrint(obj interface{})
- func RemoveSpecialCharacters(s string) string
- func StringSimilarity(a string, b string) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdvancedStringSimilarity ¶
AdvancedStringSimilarity is like StringSimilarity but boosts the value if a appears directly in b.
func Capitalize ¶
Capitalize returns the string with the first letter capitalized.
func ContainsUnicodeLetters ¶
ContainsUnicodeLetters tells you if unicode characters are inside the string.
func PrettyPrint ¶
func PrettyPrint(obj interface{})
PrettyPrint prints the object as indented JSON data on the console.
func RemoveSpecialCharacters ¶
RemoveSpecialCharacters ...
func StringSimilarity ¶
StringSimilarity returns 1.0 if the strings are equal and goes closer to 0 when they are different.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.