Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: list does not generate imports for .test packages #26488
If you run go list with -json -test the special test main package package gets the Deps correct but does not specify any Imports at all.
What you get is: