envfile

package
v0.0.0-...-e31961d Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

README

Envfile

Helper file for environment variable loader

This is useful for local environment

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(files ...string) error

Load envfile capable of reading multiple files

Types

type EnvConfigYAML

type EnvConfigYAML struct {
	Envs []EnvYAML `yaml:"envs"`
}

EnvConfigYAML struct

type EnvYAML

type EnvYAML struct {
	Name  string `yaml:"name"`
	Value string `yaml:"value"`
}

EnvYAML file struct

Jump to

Keyboard shortcuts

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