package apidiff
import "golang.org/x/exp/apidiff"
Index ¶
Types ¶
type Change ¶
A Change describes a single API change.
type Module ¶
Module is a convenience type for representing a Go module with a path and a slice of Packages contained within.
type Report ¶
type Report struct { Changes []Change }
Report describes the changes detected by Changes.
func Changes ¶
Changes reports on the differences between the APIs of the old and new packages. It classifies each difference as either compatible or incompatible (breaking.) For a detailed discussion of what constitutes an incompatible change, see the README.
func ModuleChanges ¶
ModuleChanges reports on the differences between the APIs of the old and new modules. It classifies each difference as either compatible or incompatible (breaking). This includes the addition and removal of entire packages. For a detailed discussion of what constitutes an incompatible change, see the README.
func (Report) String ¶
func (Report) Text ¶
func (Report) TextCompatible ¶
func (Report) TextIncompatible ¶
Source Files ¶
apidiff.go compatibility.go correspondence.go messageset.go report.go
- Version
- v0.0.0-20250218142911-aa4b98e5adaa (latest)
- Published
- Feb 18, 2025
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 2 days ago –
Tools for package owners.