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