proxy.golang.org : github.com/creachadair/flagstruct
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
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/creachadair/flagstruct
License: BSD-3-Clause
Latest release: over 5 years ago
First release: almost 6 years ago
Namespace: github.com/creachadair
Last synced: 13 days ago