env

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configurer

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

Configurer to fetch env variable values

func New

func New(key string) *Configurer

New creates a new configurer

func (*Configurer) Configure

func (e *Configurer) Configure(c *config.Config) error

Configure fetches the values of the env variable for file name and sets that in the config

Jump to

Keyboard shortcuts

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