Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Tag string TagNameFn func(fieldName string) string TagOpts []string StructNameFn func(structName string) string StructFieldFn func(fieldName string) string }
func (*Config) FillDefaults ¶
func (c *Config) FillDefaults()
type Type ¶
type Type struct { Name string `json:"name,omitempty"` Fields []Field `json:"fields,omitempty"` IsSlice bool `json:"is_slice,omitempty"` }
Type represents a type in Go.
Click to show internal directories.
Click to hide internal directories.