Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "ezorm",
Short: "ezorm",
Long: `ezorm is an code-generation based ORM lib for golang, supporting mongodb/sql server/mysql.
data model is defined with YAML file`,
}
This represents the base command when called without any subcommands
Functions ¶
Types ¶
type ColumnInfo ¶
type ColumnInfo struct { ColumnName string `db:"ColumnName"` DataType string `db:"DataType"` MaxLength int `db:"MaxLength"` Nullable bool `db:"Nullable"` IsPrimaryKey bool `db:"IsPrimaryKey"` Sort int `db:"Sort"` IndexId sql.NullInt64 `db:"IndexId"` IndexColumnId sql.NullInt64 `db:"IndexColumnId"` IsUnique sql.NullBool `db:"IsUnique"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.