Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeGeneratedCode ¶
func InitializeGeneratedCode(ctx *genall.GenerationContext, header string, generator Generator, intoPath string) error
InitializeGeneratedCode ensures that intoPath exists; if the file is not yet present it is initialized with the output of the generator.
func WriteGeneratedCode ¶
func WriteGeneratedCode(ctx *genall.GenerationContext, header string, generator Generator, intoPath string) error
WriteGeneratedCode ensures that intoPath contains only the output of the generator.
Types ¶
Click to show internal directories.
Click to hide internal directories.