proxy.golang.org : github.com/creachadair/flagstruct : v0.0.2
Package flagstruct supports automatic registration of struct fields as flags. Flags are associated with exported struct fields that have a tag declaring them as a flag with the specified name and help text: A flag may optionally be given a default value, using the tag: If a default value is not provided as a tag, the existing value of the target is used as the default.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/creachadair/flagstruct@v0.0.2
Published:
Indexed:
Loading...
Readme
Loading...