Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbourgon committed Sep 7, 2023
1 parent fff338f commit 6206f31
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ func NewStdFlags(stdfs *flag.FlagSet) *CoreFlags {
// taken from the provided val, which must be a pointer to a struct. See
// [CoreFlags.AddStruct] for more information on how struct tags are parsed. Any
// error results in a panic.
//
// TODO: example
func NewStructFlags(name string, val any) *CoreFlags {
fs := NewFlags(name)
if err := fs.AddStruct(val); err != nil {
Expand Down

0 comments on commit 6206f31

Please sign in to comment.