env

package module
v0.0.0-...-2f04fb6 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(name string) string

func AssertAndParse

func AssertAndParse[T any](name string, parse func(val string) T) T

func Bool

func Bool(name string) bool

func Int

func Int[T constraints.Integer](name string) T

func IntWithDefault

func IntWithDefault[T constraints.Integer](name string, def T) T

func Maybe

func Maybe(name string) *string

func Parse

func Parse[T any](name string, parse func(val string) T) T

func WithDefault

func WithDefault(name 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