Ports must not package or install Go libs or source code. Go ports must fetch the required deps at the normal fetch time and should only install the programs and things users need, not the things Go developers would need.
Ports should (in order of preference):
Use vendored dependencies included with the package source.
Fetch the versions of deps specified by upstream (in the case of go.mod, vendor.json or similar).
As a last resort (deps are not included nor versions specified exactly) fetch versions of dependencies available at the time of upstream development/release.
All FreeBSD documents are available for download at https://download.freebsd.org/ftp/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.