Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: add support for "contains:" patterns to go list #26718
go list contains: would list the packages containing the given file. This is an operation that tools commonly need, and have approximated in the past by determining the directory of the package.