Versions in this module Expand all Collapse all v0 v0.1.2 May 18, 2020 Changes in this version + type Util struct + func (_m *Util) GetEnv(key string, defaultValue string) string + func (_m *Util) GetEnvDurations(key string, defaultValue []time.Duration) []time.Duration + func (_m *Util) GetEnvFloat64(key string, defaultValue float64) float64 + func (_m *Util) GetEnvInt64(key string, defaultValue int64) int64 + func (_m *Util) LoadEnvs(file string) error + func (_m *Util) RetryWithContext(ctx context.Context, delays []time.Duration, callback util.RetryFunc) error + func (_m *Util) SleepWithContext(ctx context.Context, dur time.Duration) error