gkingpin

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTo

func GenerateTo(src []*sflags.Flag, dst flagger)

GenerateTo takes a list of sflag.Flag, that are parsed from some config structure, and put it to dst.

func ParseTo

func ParseTo(cfg interface{}, dst flagger, optFuncs ...sflags.OptFunc) error

ParseTo parses cfg, that is a pointer to some structure, and puts it to dst.

Types

This section is empty.

Jump to

Keyboard shortcuts

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