envflag

package
v1.93.0-cluster Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse()

Parse parses environment vars and command-line flags.

Flags set via command-line override flags set via environment vars.

This function must be called instead of flag.Parse() before using any flags in the program.

func ParseFlagSet added in v1.83.0

func ParseFlagSet(fs *flag.FlagSet, args []string)

ParseFlagSet parses the given args into the given fs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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