codegen

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const JsonPkg = "github.com/json-iterator/go"

Variables

This section is empty.

Functions

func ConfigUnmarshalFuncName added in v1.8.0

func ConfigUnmarshalFuncName(param *est.Param, md *meta.Data) string

ConfigUnmarshalFuncName returns a unique name for an unmarshal function fo a concrete instance of a type. For example the following types will result in the given names:

- `int` -> `encoreInternal_LoadConfig_int` - `ConfigType` -> `encoreInternal_LoadConfig_ConfigType` - `ConfigType[int, string]` -> `encoreInternal_LoadConfig_ConfigType_int_string_`

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(res *parser.Result) *Builder

func (*Builder) CacheKeyspaceKeyMapperName added in v1.7.0

func (b *Builder) CacheKeyspaceKeyMapperName(ks *est.CacheKeyspace) string

func (*Builder)