configflags

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Set

func Set(flagset *flag.FlagSet, dst *config.Global)

Set reads arguments provided to flagset as config.Fields and binds their value to the appropriate fields of given *config.Global. The provided *flag.Flagset must not have been parsed yet, otherwise bindings its values would fail.

func Which

func Which(flagset *flag.FlagSet) []string

Which returns a slice of all config fields set via the CLI for the given *flag.FlagSet.

Types

This section is empty.

Jump to

Keyboard shortcuts

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