config

package
v0.0.0-...-4aa8526 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBool

func GetBool(key string, fallback bool) bool

func GetDuration

func GetDuration(key string, fallback time.Duration) time.Duration

func GetInt

func GetInt(key string, fallback int) int

func GetString

func GetString(key string, fallback string) string

func Load

func Load(path string) error

Load reads .env file configurations into ENV

Types

This section is empty.

Jump to

Keyboard shortcuts

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