Documentation ¶
Index ¶
- func ContainsString(s []string, e string) bool
- func ContainsStringAny(s []string, e string) bool
- func FindInStringSlice(s []string, e string) int
- func FormatInning(inning string, isTop bool, status string) string
- func LocateTime(t time.Time, l string) (time.Time, error)
- func PadDate(toPad int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
ContainsString checks if slice s contains string e
func ContainsStringAny ¶
ContainsStringAny checks if any string in slice s contains string e
func FindInStringSlice ¶
FindInStringSlice returns the location of the first string in slice s which contains string e
func FormatInning ¶
FormatInning takes an inning and a half and returns a pretty-formatted string
func LocateTime ¶
LocateTime locates a time in a place
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.