Find go module direct, indirect and transitive dependencies.
Clone repo and then run
$ cd gomodsearch
$ make install
$ gomodsearch <path> <module>[@version] ...
Example
$ gomodsearch . golang.org/x/mod golang.org/x/mod@v0.0.1 golang.org/x/net
If the version is not declared it searches all existing versions.