Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGenerator ¶
func NewGenerator(opts Options) generation.Generator
NewGenerator builds a new compatibility generator.
Types ¶
type Options ¶
type Options struct { // Disabled indicates whether the compatibility generator is enabled or not. // This default to false as the compatibility generator is enabled by default. Disabled bool // Verify determines whether the generator should verify the content instead // of updating the generated file. Verify bool }
Options contains the configuration required for the compatibility generator.
Click to show internal directories.
Click to hide internal directories.