go-idioms

command module
v0.0.0-...-7ec1e62 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2015 License: MIT Imports: 0 Imported by: 0

README

go-idioms

Collection of idiomatic Go functions to deal with common boilerplate.

env

Idiomatic functions to deal with Environment variables.

import "github.com/caarlos0/go-idioms/env"

env.Set("AWS_KEY", "***")
env.GetOr("AWS_REGION", "sa-east-1")
env.Unset("KEY")
env.Get("ANOTHER_KEY")

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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