Radar · Go · Archive · Week 21 · May 19 – 25, 2025
go/ast: deprecate FilterPackage, PackageExports, MergePackageFiles
Nice to knowstdlib
- What changed
- The functions that operate on the deprecated
ast.Packagetype were all marked deprecated. - Production impact
- The source does not say.
- Try it
- Replace calls to
FilterPackageorPackageExportswithFilterFileorFileExports. - Source
- github.com/golang/go/issues/73088
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed