compatibility

package
v0.0.0-...-ac9356b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

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.

Jump to

Keyboard shortcuts

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