Fortio’s version is simple wrapper for go 1.18 and newer
debug.ReadBuildInfo() which lets
you obtain version directly from the binary, without having to use the previously necessary
-ldflags -X main.version=1.2.3 when using
go install [email protected] instead.
Read more, source: github.com/fortio/version
(see also Some background)
This page also for making
go get fortio.org/version go install fortio.org/version/sample@latest
and godoc work.
Back to fortio.org