package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: May 22, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package generator makes code generation.
type Generator struct {
}
Generator code generator.
func New(
logger logger.Type,
src *types.Named,
typ *types.Named,
hnd *types.Named,
disp string,
lenPrefix bool,
r *renderer.Go,
thands map[*types.Var]handlers.Type,
ecnoderResultType *types.Tuple,
missingWriteBuffer bool,
) *Generator
New construct new generator instance.
Generate perform code generation.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.