I have a project currently organized something like this:
~/code/go /bin /pkg /src /proj/main.go /some_packa
You can use three dots (...) as a wildcard. So for example, the following command will format all github.com packages:
...
go fmt github.com/...
This wildcard also works with other go commands like go list, go get and so. There is no need to remember such an ugly find command.
go list
go get