Documentation ¶
Index ¶
Constants ¶
View Source
const (
IMPORT_SQLCA = `import "github.com/civet148/sqlca"`
)
Variables ¶
This section is empty.
Functions ¶
func Export ¶
func Export(si *schema.SchemaInfo) (err error)
Types ¶
type TableColumn ¶
type TableColumn struct { TableName string `json:"TABLE_NAME" db:"TABLE_NAME"` ColumnName string `json:"COLUMN_NAME" db:"COLUMN_NAME"` DataType string `json:"DATA_TYPE" db:"DATA_TYPE"` ColumnKey string `json:"COLUMN_KEY" db:"COLUMN_KEY"` Extra string `json:"EXTRA" db:"EXTRA"` ColumnComment string `json:"COLUMN_COMMENT" db:"COLUMN_COMMENT"` }
type TableColumnGo ¶
type TableSchema ¶
type TableSchema struct { SchemeName string `json:"TABLE_SCHEMA" db:"TABLE_SCHEMA"` TableName string `json:"TABLE_NAME" db:"TABLE_NAME"` TableEngine string `json:"ENGINE" db:"ENGINE"` TableComment string `json:"TABLE_COMMENT" db:"TABLE_COMMENT"` SchemeDir string `json:"SCHEMA_DIR" db:"SCHEMA_DIR"` }
Click to show internal directories.
Click to hide internal directories.