config

package
v0.0.0-...-b5e9f8f Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct{}

Config is the configuration handler.

func New

func New(filepath string) (*Config, error)

New loads a .env file.

func (Config) Get

func (Config) Get(key string) string

Get retrieves a environment variable.

Jump to

Keyboard shortcuts

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