Documentation ¶ Index ¶ func GetDatabaseClient(v string) (*ent.Client, error) func GetEnvInt(key string, fallback int) int func GetEnvString(key string, fallback string) string type TimeSlice func (s TimeSlice) Len() int func (s TimeSlice) Less(i, j int) bool func (s TimeSlice) Swap(i, j int) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetDatabaseClient ¶ func GetDatabaseClient(v string) (*ent.Client, error) func GetEnvInt ¶ func GetEnvInt(key string, fallback int) int func GetEnvString ¶ func GetEnvString(key string, fallback string) string Types ¶ type TimeSlice ¶ type TimeSlice []time.Time func (TimeSlice) Len ¶ func (s TimeSlice) Len() int func (TimeSlice) Less ¶ func (s TimeSlice) Less(i, j int) bool func (TimeSlice) Swap ¶ func (s TimeSlice) Swap(i, j int) Source Files ¶ View all Source files db.go misc.go Click to show internal directories. Click to hide internal directories.