This site is being rebuilt and some pages are out of date. For current details, write to [email protected]. This notice goes away when the rebuild is done.

No analytics unless you allow it, no tracking. This site keeps in your browser the language you pick, the theme, its colour, which site you chose, the currency on the pricing page and that you closed this notice; signing in adds session cookies. The legal page has the details.

Sign in

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.Package type were all marked deprecated.
Production impact
The source does not say.
Try it
Replace calls to FilterPackage or PackageExports with FilterFile or FileExports.
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