Documentation ¶
Index ¶
- func GenEqual(f *File, typeName string, flds []EqualFld)
- func GenGetters(f *File, typeName string, flds []*types.Var)
- func GenMustNew(f *File, typeName string, publicFlds []*types.Var)
- func GenNew(f *File, typeName string, publicFlds []*types.Var, validations []Validation, ...)
- func GenSetters(f *File, typeName string, flds []*types.Var)
- func GenStringer(f *File, typeName string, flds []*types.Var)
- func GenUnmarshalFromRepository(f *File, typeName string, publicFlds, privateFlds []*types.Var)
- type EqualFld
- type Validation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenGetters ¶
func GenMustNew ¶
func GenNew ¶
func GenNew(f *File, typeName string, publicFlds []*types.Var, validations []Validation, validatorMethod string)
func GenSetters ¶
func GenStringer ¶
Types ¶
type Validation ¶
Click to show internal directories.
Click to hide internal directories.