More and more projects do not make there go.mod file available on GO_PROXY and therefor the go module build is not usable in ports.
You need to create work arounds like this:
https://cgit.freebsd.org/ports/tree/devel/gitaly/Makefile#n39
The patch added a new variable GO_MOD_DIST which can be defined to:
- gitlab
- github
- A direct custom URI without go.mod
Or it can be ommited, then default GO_PROXY is used.
What do you think about this?