envvar

package
v1.61.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(n string, args ...bool) (bool, bool)

func Duration

func Duration(n string, args ...time.Duration) (time.Duration, bool)

func Int

func Int(n string, args ...int) (int, bool)

func Int64

func Int64(n string, args ...int64) (int64, bool)

Int64 returns the int64 value of the environment variable named n.

func SetBool

func SetBool(n string, v *bool) bool

func String

func String(n string, args ...string) (string, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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