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.