env

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInt

func GetInt(key string) int

GetInt returns the int value from .env.

func GetInt64

func GetInt64(key string) int64

GetInt64 returns the int64 value from .env.

func GetString

func GetString(key string) string

GetString returns the string value from .env.

func GetTime

func GetTime(key string, magnitude string) time.Duration

GetTime returns the time.Duration value from .env.

func GetUint64

func GetUint64(key string) uint64

GetUint64 returns the uint64 value from .env.

Types

This section is empty.

Jump to

Keyboard shortcuts

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