Golang debug/buildinfo

From: Ben Lavery-Griffiths <ben_at_lavery-griffiths.com>
Date: Fri, 27 May 2022 21:31:52 UTC
Hey all,

I maintain the www/gohugo port, with the upgrade to Go 1.18 they project has switched to using debug/buildinfo (https://pkg.go.dev/runtime/debug#BuildInfo), this gets certain information from VCS, as opposed to passing the values in via ldflags.

Presuming more and more Go projects will use this mechanism, does anyone know how we will be dealing with this for building ports?

Many thanks,