include goversion used to compile mox in the mox version

This commit is contained in:
Mechiel Lukkien
2024-11-28 16:28:05 +01:00
parent 636bb91df6
commit d7f057709f
10 changed files with 19 additions and 15 deletions

View File

@ -2845,7 +2845,7 @@ func cmdVersion(c *cmd) {
c.Usage()
}
fmt.Println(moxvar.Version)
fmt.Printf("%s %s/%s\n", runtime.Version(), runtime.GOOS, runtime.GOARCH)
fmt.Printf("%s/%s\n", runtime.GOOS, runtime.GOARCH)
}
func cmdWebapi(c *cmd) {