dotenv

package
v0.0.0-...-7a7a2a4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPath

func GetPath(defaultPath string) string

GetPath returns the value of ENV_PATH or the default value.

func Load

func Load(filepath string, dst map[string]string) error

Load reads values from the given filepath and copies them to dst. It returns an error if any variable is missing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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