diff --git a/core_flags.go b/core_flags.go index eefc91a..44e1cc6 100644 --- a/core_flags.go +++ b/core_flags.go @@ -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 {