x/tools/cmd/guru: give an option to exclude test code from the search #25607
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.10.2 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?What did you do?
used guru to list callers of a function.
What did you expect to see?
the callers of the function
What did you see instead?
guru returns all the callers of the function, including test code.
Is it possible to give an option to exclude test code while doing the search?
an option to exclude test code from search will not only reduce the time taken to complete the search, but also give lesser results to the editors to work with.
The text was updated successfully, but these errors were encountered: