env

package
v0.0.0-...-d45fff1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrVarNotExists = errors.New("env: variable does not exists")

Functions

func GetInt

func GetInt(key string) (int, error)

func GetString

func GetString(key string) (string, error)

func MustGetInt

func MustGetInt(key string, defaultValue int) int

func MustGetString

func MustGetString(key string, defaultValue string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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