Documentation ¶
Overview ¶
Package sqlorm ... @Time : 2020/1/11 12:20 @Software: GoLand @File : sql @Author : https://github.com/liudanking/gorm2sql
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SQLGenerator ¶
type SQLGenerator struct {
// contains filtered or unexported fields
}
SQLGenerator ...
func NewSQLGenerator ¶
func NewSQLGenerator(typeSpec *ast.TypeSpec) (*SQLGenerator, error)
NewSQLGenerator ...
func (*SQLGenerator) GetCreateTableSQL ¶
func (ms *SQLGenerator) GetCreateTableSQL(t *schemas.Table) (string, error)
GetCreateTableSQL ...
Click to show internal directories.
Click to hide internal directories.