codegen

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 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 added in v0.1.1

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 added in v0.1.1

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

func GetMBulkInsertParams added in v0.1.1

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

func GetMBulkUpdateParams added in v0.1.1

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

func GetMCountParams added in v0.1.1

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

func GetMDeleteOneParams added in v0.1.1

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

func GetMFindListParams added in v0.1.1

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

func GetMFindOneParams added in v0.1.1

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

func GetMFindPageListParams added in v0.1.1

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

func GetMFindSortPageListParams added in v0.1.1

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

func GetMInsertOneParams added in v0.1.1

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

func GetMUpdateManyParams added in v0.1.1

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

func GetMUpdateOneParams added in v0.1.1

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

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.

Jump to

Keyboard shortcuts

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