Help us shape the future of Go! Take the 2026 Go Developer Survey

change

package
v0.507.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Breaking

func Breaking(sch Option[*schema.Schema], prev, next schema.Type) error

Breaking verifies that a type has not changed in a backwards incompatible way.

For data structures, we support the following operations:

  • Add new fields.
  • Remove optional fields.

Types

type Error

type Error struct {
	Pos schema.Position

	Err error
}

Error returned by Validate

func (Error) Error

func (e Error) Error() string

func (Error) Unwrap

func (e Error) Unwrap() error

Jump to

Keyboard shortcuts

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