Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultDst string = "dst"
View Source
const DefaultSrc string = "src"
Variables ¶
This section is empty.
Functions ¶
func ConvertField ¶
func ConvertField( templates *template.Template, field *entity.GormModelField, dst *entity.GormModelMetadata, ) string
Convert the src field to the matching field on dst.
func ConvertFieldNamed ¶
func ConvertFieldNamed( templates *template.Template, field *entity.GormModelField, dst *entity.GormModelMetadata, from, to string, ) string
Convert the src field to the matching field on dst.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.