Documentation ¶
Index ¶
- func CharAt(s string, i int) byte
- func EqualFloat(expected, observed float64) bool
- func HasAnyIndex(s string, suffixes []string) int
- func HasAnyPrefix(s string, prefixes []string) bool
- func HasAnySuffix(s string, suffixes []string) bool
- func Min(a, b int) int
- func ReadDataFile(path string) []byte
- func StringInSlice(a string, slice []string) bool
- func ToTitle(m string, strict bool) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CharAt ¶ added in v0.6.0
CharAt returns the ith character of s, if it exists. Otherwise, it returns the first character.
func EqualFloat ¶
func HasAnyIndex ¶ added in v0.3.0
func HasAnyPrefix ¶ added in v0.3.0
func HasAnySuffix ¶
HasAnySuffix determines if `s` has any of the suffixes in `suffixes`.
func ReadDataFile ¶
func StringInSlice ¶
StringInSlice determines if `slice` contains the string `a`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.