Documentation ¶
Index ¶
- Variables
- func AddBaseMGoImports(data string) (string, error)
- func AddMongoImports(data string) (string, error)
- func GetFuncRender(extractStruct *extract.IdlExtractStruct) *template.FuncRender
- func GetMAggregateParams() (res []code.Param)
- func GetMBulkInsertParams() (res []code.Param)
- func GetMBulkUpdateParams() (res []code.Param)
- func GetMCountParams() (res []code.Param)
- func GetMDeleteOneParams() (res []code.Param)
- func GetMFindListParams() (res []code.Param)
- func GetMFindOneParams() (res []code.Param)
- func GetMFindPageListParams() (res []code.Param)
- func GetMFindSortPageListParams() (res []code.Param)
- func GetMInsertOneParams() (res []code.Param)
- func GetMUpdateManyParams() (res []code.Param)
- func GetMUpdateOneParams() (res []code.Param)
- func GetStructRender(extractStruct *extract.IdlExtractStruct) *template.StructRender
- func HandleBaseCodegen() []*template.MethodRender
- func HandleCodegen(ifOperations []*parse.InterfaceOperation) (methodRenders [][]*template.MethodRender)
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseMongoImports = map[string]string{
"context": "",
}
Functions ¶
func AddBaseMGoImports ¶ added in v0.1.1
func AddMongoImports ¶
func GetFuncRender ¶
func GetFuncRender(extractStruct *extract.IdlExtractStruct) *template.FuncRender
func GetMAggregateParams ¶ added in v0.1.1
func GetMBulkInsertParams ¶ added in v0.1.1
func GetMBulkUpdateParams ¶ added in v0.1.1
func GetMCountParams ¶ added in v0.1.1
func GetMDeleteOneParams ¶ added in v0.1.1
func GetMFindListParams ¶ added in v0.1.1
func GetMFindOneParams ¶ added in v0.1.1
func GetMFindPageListParams ¶ added in v0.1.1
func GetMFindSortPageListParams ¶ added in v0.1.1
func GetMInsertOneParams ¶ added in v0.1.1
func GetMUpdateManyParams ¶ added in v0.1.1
func GetMUpdateOneParams ¶ added in v0.1.1
func GetStructRender ¶
func GetStructRender(extractStruct *extract.IdlExtractStruct) *template.StructRender
func HandleBaseCodegen ¶ added in v0.1.1
func HandleBaseCodegen() []*template.MethodRender
func HandleCodegen ¶
func HandleCodegen(ifOperations []*parse.InterfaceOperation) (methodRenders [][]*template.MethodRender)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.