README ¶ go-env Parse os.env to type: int, bool, string, duration... Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Item func Get(k string) *Item func (i *Item) Bool() bool func (i *Item) Duration() time.Duration func (i *Item) Float() float64 func (i *Item) Int() int func (i *Item) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Item ¶ type Item struct { // contains filtered or unexported fields } func Get ¶ func Get(k string) *Item func (*Item) Bool ¶ func (i *Item) Bool() bool func (*Item) Duration ¶ func (i *Item) Duration() time.Duration func (*Item) Float ¶ func (i *Item) Float() float64 func (*Item) Int ¶ func (i *Item) Int() int func (*Item) String ¶ func (i *Item) String() string Source Files ¶ View all Source files env.go Click to show internal directories. Click to hide internal directories.