codegen

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseMongoImports = map[string]string{
	"context": "",
}

Functions

func AddBaseMGoImports

func AddBaseMGoImports(data string) (string, error)

func AddMongoImports

func AddMongoImports(data string) (string, error)

func GetFuncRender

func GetFuncRender(extractStruct *extract.IdlExtractStruct) *template.FuncRender

func GetMAggregateParams

func GetMAggregateParams() (res []code.Param)

func GetMBulkInsertParams

func GetMBulkInsertParams() (res []code.Param)

func GetMBulkUpdateParams

func GetMBulkUpdateParams() (res []code.Param)

func GetMCountParams

func GetMCountParams() (res []code.Param)

func GetMDeleteOneParams

func GetMDeleteOneParams() (res []code.Param)

func GetMFindListParams

func GetMFindListParams() (res []code.Param)

func GetMFindOneParams

func GetMFindOneParams() (res []code.Param)

func GetMFindPageListParams

func GetMFindPageListParams() (res []code.Param)

func GetMFindSortPageListParams

func GetMFindSortPageListParams() (res []code.Param)

func GetMInsertOneParams

func GetMInsertOneParams() (res []code.Param)

func GetMUpdateManyParams

func GetMUpdateManyParams() (res []code.Param)

func GetMUpdateOneParams

func GetMUpdateOneParams() (res []code.Param)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL