Documentation ¶
Index ¶
Constants ¶
View Source
const ( MySQL Type = iota PostgreSQL DataSourceFormat = "%s:%s@tcp(%s)/information_schema?charset=%s&parseTime=True&loc=Local" QuerySQL = "SELECT COLUMN_NAME, DATA_TYPE, COLUMN_KEY, " + "IS_NULLABLE, COLUMN_TYPE, COLUMN_COMMENT " + "FROM COLUMNS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? " )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TableColumn ¶
type TableColumn struct { ColumnName string DataType string IsNullable string ColumnKey string ColumnType string ColumnComment string }
func (*TableColumn) Comment ¶
func (t *TableColumn) Comment() string
func (*TableColumn) Name ¶
func (t *TableColumn) Name() string
func (*TableColumn) Type ¶
func (t *TableColumn) Type() string
Click to show internal directories.
Click to hide internal directories.