fix

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: UNKNOWN not legal advice Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Fixes = []Fix{
	{
		Name: "interrealm",
		Date: "2025-06-06",
		Desc: `gno 0.9 inter-realm syntax change. This is a version of the transpiler
which works directly onto the AST (without type checking); function calls to
funcs/methods in the same package will not be modified, as such some manual
modification may be required in these cases.`,
		F:       interrealm,
		Version: "0.9",
	},
	{
		Name:              "stdsplit",
		Date:              "2025-08-13",
		Desc:              "rewrites imports and symbols of the std package into the new packages and symbols",
		F:                 stdsplit,
		DisabledByDefault: true,
	},
}

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