You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BuildPackageGraph function, and many related ones, are used only from the test, though it is hard to deduce that (and it looks like production code). The reason is that this package was designed test-first, with instructions for how to productionize it; that has since been done.
We should move it all the test-only code into a _test.go file, for clarity.
The text was updated successfully, but these errors were encountered:
gopherbot
added
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls
Issues related to the Go language server, gopls.
labels
Jun 5, 2023
adonovan
removed
the
Tools
This label describes issues relating to any tools in the x/tools repository.
label
Jun 5, 2023
The BuildPackageGraph function, and many related ones, are used only from the test, though it is hard to deduce that (and it looks like production code). The reason is that this package was designed test-first, with instructions for how to productionize it; that has since been done.
We should move it all the test-only code into a _test.go file, for clarity.
The text was updated successfully, but these errors were encountered: