Documentation
¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.