env

package
v0.0.0-...-baa204d Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package env handles loading and reading environment variables from a file.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoDotEnv = errors.New("no .env file found")
)

Functions

func Load

func Load(overwrite bool) (err error)

Load reads in the file called .env and sets all given environement variables. If overwrite is set to true, Load will use the values present in .env instead of the current values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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