func (e *Environment) Bool(name string) (bool, error) {
	v, err := e.value(name)
	if err != nil {
		return false, err
	}
	return strconv.ParseBool(v)
}
Bool returns a bool if it exists in the set environment variables.
package configure
import (
	"errors"
	"os"
	"strconv"
	"strings"
)
func NewEnvironment() *Environment {
	return &Environment{}
}
type Environment struct {
}
func (e Environment) Setup() error {
	return nil
}
func (e Environment) value(name string) (string, error) {
	n := e.process(name)
	v := os.Getenv(n)
	if v == "" {
		return v, errors.New("Value does not exist")
	}
	return v, nil
}
func (e Environment) process(name string) string {
	name = strings.ToUpper(name)
	name = strings.Replace(name, "-", "_", -1)
	return name
}
func (e Environment) Int(name string) (int, error) {
	v, err := e.value(name)
	if err != nil {
		return 0, err
	}
	i, err := strconv.Atoi(v)
	if err != nil {
		return 0, err
	}
	return i, nil
}