Documentation
¶
Index ¶
- func DateStrToTime(dateStr string) (time.Time, error)
- func FileExists(fileLocation string) bool
- func HourString(i int) (hourString string)
- func IsWeekend(t time.Time) bool
- func MinI(a, b int) int
- func Mod(a, b int) int
- func Quiet() func()
- func StringToTimestamp(str string) time.Time
- type FileSystem
- type LocalFS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func HourString ¶
func StringToTimestamp ¶
Expects a format like 2021-08-12
Types ¶
type FileSystem ¶
type FileSystem interface { Create(string) (io.WriteCloser, error) Open(string) (io.ReadCloser, error) }
Click to show internal directories.
Click to hide internal directories.