Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParserToString ¶
Types ¶
type FileInfo ¶
type FileInfo struct {
FilePath string
GenPath string
DirName string
StructList []*StructInfo
}
type ReadFromFile ¶
type ReadFromFile struct {
// contains filtered or unexported fields
}
func (*ReadFromFile) GetStructList ¶
func (r *ReadFromFile) GetStructList() ([]*StructInfo, error)
type ReadFromMySQL ¶
type ReadFromMySQL struct {
// contains filtered or unexported fields
}
func (*ReadFromMySQL) GetStructList ¶
func (r *ReadFromMySQL) GetStructList() ([]*StructInfo, error)
type ReadFromSQL ¶
type ReadFromSQL struct {
// contains filtered or unexported fields
}
func (*ReadFromSQL) GetStructList ¶
func (r *ReadFromSQL) GetStructList() ([]*StructInfo, error)
type Reader ¶
type Reader interface {
GetStructList() ([]*StructInfo, error)
}
type StructInfo ¶
type StructInfo struct {
Name string
Fields []StructInfoField
}
func ParseSql ¶
func ParseSql(sql string) ([]*StructInfo, error)
type StructInfoField ¶
Click to show internal directories.
Click to hide internal directories.