internalenv

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagAnnotation = "___leodido_structcli_flagenvs"
)

Variables

View Source
var (
	EnvSep = "_"
)

Functions

func BindEnv

func BindEnv(c *cobra.Command) error

func GetEnv

func GetEnv(f reflect.StructField, inherit bool, path, alias, envPrefix string) ([]string, bool)

func GetPrefix added in v0.10.0

func GetPrefix() string

func NormEnv

func NormEnv(str string) string

func SetPrefix added in v0.10.0

func SetPrefix(v string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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