env

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(search string) bool

func BoolOr

func BoolOr(search string, def bool) bool

func GetEnvFileByArgs added in v0.3.0

func GetEnvFileByArgs(args []string, def string) string

GetEnvFileByArgs returns the desired env file

func Int

func Int(search string) int

func IntOr

func IntOr(search string, def int) int

func Lang

func Lang(search string) language.Tag

func LangOr

func LangOr(search string, def language.Tag) language.Tag

func String added in v0.4.0

func String(search string) string

func StringOr

func StringOr(search string, def string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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