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 ¶
func AddMongoImports ¶
func GetFuncRender ¶
func GetFuncRender(extractStruct *extract.IdlExtractStruct) *template.FuncRender
func GetMAggregateParams ¶
func GetMBulkInsertParams ¶
func GetMBulkUpdateParams ¶
func GetMCountParams ¶
func GetMDeleteOneParams ¶
func GetMFindListParams ¶
func GetMFindOneParams ¶
func GetMFindPageListParams ¶
func GetMInsertOneParams ¶
func GetMUpdateManyParams ¶
func GetMUpdateOneParams ¶
func GetStructRender ¶
func GetStructRender(extractStruct *extract.IdlExtractStruct) *template.StructRender
func HandleBaseCodegen ¶
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.