Description

Names returns a slice of field names. A struct tag with the content of "-" ignores the checking of that particular field. Example:

// Field is ignored by this package.
Field bool `structs:"-"`

It panics if s's kind is not struct.

Names is referenced in 2 repositories

github.com/fatih/structs github.com/jnericks/go-pokemon