configgen

package
v1.16.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigUnmarshalFuncName

func ConfigUnmarshalFuncName(gu *genutil.Helper, typ schema.Type) 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_`

func Gen

func Gen(gen *codegen.Generator, svc *app.Service, pkg *pkginfo.Package, loads []*config.Load)

Types

This section is empty.

Jump to

Keyboard shortcuts

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