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
Hello @sylr. Thank you for the feedback on the query feature. Currently you can already do:
gomod graph [-p] '/...[:test]'
to achieve your goal.
I do however agree that this should be an example in the README and the path matcher semantics can be improved further by adding wildcard matching (e.g *:test, github.com/*/http, etc). This has my preference over adding an alias as it would keep the query language as simple as possible, and the query processor as well.
I will be adding something in this direction shortly but it won't make the 0.6.0 which just went out. It will however be in the 0.6.1 which should not be too far out. 👍
First, congrats for the query feature, super useful 👏
However, it would be nice if
gomod graph .
in a go module path would be an alias forgomod graph "deps(current module)"
.Regards.
The text was updated successfully, but these errors were encountered: