env

package module
v0.0.0-...-ee1b9fe Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

go-env

Parse os.env to type: int, bool, string, duration...

Documentation

Index

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

Jump to

Keyboard shortcuts

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