Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { schema.Column VarName string // 对应的 golang 中的变量名称 XType *XType // contains filtered or unexported fields }
func (*Field) GetArgNames ¶
type XType ¶
type XType struct { File string // 所在文件名称 Package string // 包全称 Name string // 名称 TableName string // 对应的数据库表名 Fields []*Field // 结构体对应的成员列表 Funcs []*Func // 结构体对应的函数列表 // contains filtered or unexported fields }
func (*XType) IsBlobReadWriter ¶
IsBlobReadWriter 是否实现了 BlobReadWriter 接口
func (*XType) ParseFields ¶
func (p *XType) ParseFields(thisPkg string, st *ast.StructType, structMap map[string]*XType, x *XTypeParser) error
type XTypeParser ¶
type XTypeParser struct {
// contains filtered or unexported fields
}
func NewXTypeParser ¶
func NewXTypeParser(dialect string, logger logo.Logger) *XTypeParser
Click to show internal directories.
Click to hide internal directories.