debug method

This commit is contained in:
Timon Ringwald 2022-08-29 10:11:41 +02:00
parent c2cf5fd5c9
commit 0a6362c21a

13
debug.go Normal file
View File

@ -0,0 +1,13 @@
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)
}