Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaoStruct ¶
type DaoStruct struct { QueryPkgName string // 包名 QueryStructList []*QueryStruct }
func ParseDaoStruct ¶
func ParseDaoStruct(QueryPkgName string, queryStructList []*QueryStruct) *DaoStruct
type QueryStruct ¶
type QueryStruct struct { Schema *schema.Schema QueryPkgName string // 包名 Name string // Model对象名称 StructName string // 小写开头的Model名称 WhereFns []*method.Method OrderFns []*method.Method }
func ParseQueryStruct ¶
func ParseQueryStruct(QueryPkgName string, s *schema.Schema) (*QueryStruct, error)
ParseQueryStruct 解析Query对象
Click to show internal directories.
Click to hide internal directories.