Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateEnums ¶
For all enumerated constants, generate enums that satisfy the Enummer interface suffix is appended to each filename e.g Uses _enum by default. Returns sql string that you can use to create these ENUM types in postgres
func ImplementsEnumer ¶
func ImplementsEnumer(field reflect.StructField) bool
func QuoteEnums ¶
Surround each value with single quote and return a comma-seperated string
Types ¶
Click to show internal directories.
Click to hide internal directories.