env

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(key string, defaultValue bool) bool

func Float64

func Float64(key string, defaultValue float64) float64

func Int64

func Int64(key string, defaultValue int64) int64

func ReadSetBool

func ReadSetBool(key string, defaultValue bool) (bool, error)

func ReadSetFloat64

func ReadSetFloat64(key string, defaultValue float64) (float64, error)

func ReadSetInt64

func ReadSetInt64(key string, defaultValue int64) (int64, error)

func ReadSetString

func ReadSetString(key string, defaultValue string) (string, error)

func Set

func Set(key string, defaultValue interface{}) error

func String

func String(key string, defaultValue interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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