Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cockdb2GoMap = map[string]string{
"char": "string",
"varchar": "string",
"text": "string",
"bit": "byte",
"tinyint": "int8",
"smallint": "int16",
"mediumint": "int32",
"int": "int32",
"integer": "int32",
"bigint": "int64",
"double": "float64",
"decimal": "float64",
"numeric": "float64",
"int32": "int32",
"int64": "int64",
"string": "string",
"time": "string",
"date": "time.Time",
"datetime": "time.Time",
"timestamp": "time.Time",
"timestamptz": "time.Time",
"uuid": "string",
"bool": "bool",
"boolean": "bool",
"serial2": "int16",
"serial4": "int32",
"serial8": "int64",
"money": "float64",
"int2": "int16",
"int4": "int32",
"int8": "int64",
"float4": "float32",
"float8": "float64",
}
Functions ¶
func InjectMetaCtxDb ¶
func InjectMetaCtxDb(s *MetaCtxDb)
func LoadMetaCtxDb ¶
func LoadMetaCtxDb() baseiface.ISingleton
Types ¶
type MetaCtxCockdb ¶
type MetaCtxCockdb struct {
*MetaCtxDb
}
func NewMetaCtxCockdb ¶
func NewMetaCtxCockdb() *MetaCtxCockdb
type MetaCtxDb ¶
type MetaCtxDb struct { basedto.BaseEntitySingle // contains filtered or unexported fields }
func NewMetaCtxDb ¶
func NewMetaCtxDb() *MetaCtxDb
func (*MetaCtxDb) FindEsType ¶
func (*MetaCtxDb) FindGoType ¶
func (*MetaCtxDb) FindProtoType ¶
type MetaCtxMysql ¶
type MetaCtxMysql struct {
*MetaCtxDb
}
@Title 文件名称: MetaCtxMysql.go @Description 描述: 元数据--字典
@Author 作者: leijianming@163.com 时间(2024-01-31 22:38:21) @Update 作者: leijianming@163.com 时间(2024-01-31 22:38:21)
func NewMetaCtxMysql ¶
func NewMetaCtxMysql() *MetaCtxMysql
type MetaCtxPostgres ¶
type MetaCtxPostgres struct {
*MetaCtxDb
}
func NewMetaCtxPostgres ¶
func NewMetaCtxPostgres() *MetaCtxPostgres
Click to show internal directories.
Click to hide internal directories.