package version
import (
"fmt"
"runtime"
)
var (
Version string
GitCommit string
BuildDate string
GoVersion = runtime.Version()
)
func Info() string {
return fmt.Sprintf("(version=%s, gitcommit=%s)", Version, GitCommit)
}
func BuildContext() string {
return fmt.Sprintf("(go=%s, date=%s)", GoVersion, BuildDate)
}
-
Matthew Slipper authored
- Adopts Go workspaces for future compatibility with the Bedrock move into the monorepo - Moves Go packages to the root of the repo in order to fix import paths - Rewrites existing Go import paths - Removes Stackman, since it's not needed anymore Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
5d309e6a