Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin interface { Name() string Annotation() string CouldHandle(t *types.Type) bool Generate(ctx *generator.Context, imports namer.ImportTracker, w io.Writer, t *types.Type) (err error) // Finalize should write finish up functions, and any other content that's not // generated per-type. Finalize(ctx *generator.Context, imports namer.ImportTracker, w io.Writer) error }
Click to show internal directories.
Click to hide internal directories.