fix

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: UNKNOWN not legal advice Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Fixes = []Fix{
	{
		Name: "stdsplit",
		Date: "2025-08-13",
		Desc: "rewrites imports and symbols of the std package into the new packages and symbols",
		F:    stdsplit,
	},
}

Functions

This section is empty.

Types

type Fix

type Fix struct {
	Name              string
	Date              string // date that fix was introduced, in YYYY-MM-DD format
	F                 func(f *ast.File) bool
	Desc              string
	DisabledByDefault bool

	// gnomod.toml version applied after this fix. If not said, applied
	// regardless of gnomod.toml version.
	Version string
}

Fix is an individual fix provided by this package.

Jump to

Keyboard shortcuts

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