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
- func SendNotification(apiURL, phoneNumber, message string) ([]byte, error)
- func Spinner()
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 checks if any string in slice s 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
func SendNotification ¶
SendNotification sends a message to the phonenumber using the API at apiURL
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.