util

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL