proposal: go/doc: deprecate New #73089
Labels
LibraryProposal
Issues describing a requested change to the Go standard library or x/ libraries, but not to a tool
Proposal
Milestone
Proposal Details
In the
go/doc
there is a function that accepts a*ast.Package
, calledNew
. We already have an alternative that work with ordinary*ast.File
s,NewFromFiles
. So i think that we should deprecate it in favour ofNewFromFiles
.Related: #71122, #73088, #7124
CC @adonovan @griesemer
The text was updated successfully, but these errors were encountered: