Documentation
¶
Overview ¶
nolint: goconst
Index ¶
- func ColumnNameToPropertyName(name string) string
- func ColumnNameToVariableName(name string) string
- func ColumnTypeToSQLType(colType *schema.ColumnType) (string, string, string)
- func TableNameToFileName(name string) string
- func TableNameToPackageName(name string) string
- func TableNameToReceiver(name string) string
- func TableNameToStructName(name string) string
- func TableNameToVariableName(name string) string
- type Builder
- type ColumnType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColumnTypeToSQLType ¶
func ColumnTypeToSQLType(colType *schema.ColumnType) (string, string, string)
func TableNameToFileName ¶
func TableNameToPackageName ¶
func TableNameToReceiver ¶
func TableNameToStructName ¶
func TableNameToVariableName ¶
Types ¶
type ColumnType ¶
type ColumnType struct { Type string TypeKind types.FieldTypeKind SQLType string DefaultValue string NullableSQLType string Package string NullablePackage string NullableSQLAccessValue string }
func ColumnTypeToType ¶
func ColumnTypeToType(colType *schema.ColumnType) *ColumnType
Click to show internal directories.
Click to hide internal directories.