helper

package
v0.0.0-...-10c636f Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnv

func GetEnv(envName string, defaultValue string) string

GetEnv return the value of a env var

func LoadEnv

func LoadEnv(filenames ...string) error

LoadEnv will read your env file(s) and load them into ENV for this process.

func ReadEnv

func ReadEnv(pathToEnv string) (map[string]string, error)

ReadEnv read env file of the project

Types

This section is empty.

Jump to

Keyboard shortcuts

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