buildinfo/debug.go
Timon Ringwald 0a6362c21a debug method
2022-08-29 10:11:41 +02:00

14 lines
298 B
Go

package buildinfo
import "fmt"
func Debug() {
fmt.Printf("Name: %s\n", Name)
fmt.Printf("Version: %s\n", Version)
fmt.Printf("Commit: %s\n", Commit)
fmt.Printf("BuildTime: %s\n", BuildTime)
fmt.Printf("OS: %s\n", OS)
fmt.Printf("Arch: %s\n", Arch)
fmt.Printf("ShowDeps: %t\n", ShowDeps)
}