autoload

package
v0.0.0-...-8e0a68d Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2015 License: MIT Imports: 4 Imported by: 4

Documentation

Overview

To use autoload, import the package like so:

import _ "github.com/jpfuentes2/go-env/autoload"

Importing this package will automatically source the `pwd`/.env file and set each environment variable.

If you do not want to automatically set the env variables and/or specify a different path, then you should import the base "env" package and call it with a specific path. See env.go for more information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Load loads `pwd`/.env or GOENV and a `.local` for overrides

Types

This section is empty.

Jump to

Keyboard shortcuts

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