handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultFileName = ".env"
	PackageDir      = "env"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	// contains filtered or unexported fields
}

func Make

func Make(rootDir string) (Env, error)

func MakeWith

func MakeWith(rootDir string, file string) (Env, error)

func (Env) Get

func (current Env) Get(key string) string

func (Env) GetRootDir

func (current Env) GetRootDir() string

Jump to

Keyboard shortcuts

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