Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormModelField ¶
type GormModelField struct {
Name string
Type string
Tag string
OpenApiType string
MapFunc *string
MapApiFunc *string
// contains filtered or unexported fields
}
func (*GormModelField) GetType ¶
func (f *GormModelField) GetType() types.Type
type GormModelMetadata ¶
type GormModelMetadata struct {
Name string
Fields []*GormModelField
Embedded []*GormModelMetadata
IsApi bool
}
func (*GormModelMetadata) AllFields ¶
func (m *GormModelMetadata) AllFields() []*GormModelField
func (*GormModelMetadata) GetField ¶ added in v1.0.5
func (m *GormModelMetadata) GetField(name string) *GormModelField
Click to show internal directories.
Click to hide internal directories.