From 0a6362c21a4ba313fc970d7e97e90fd508234cbb Mon Sep 17 00:00:00 2001 From: Timon Ringwald Date: Mon, 29 Aug 2022 10:11:41 +0200 Subject: [PATCH] debug method --- debug.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 debug.go diff --git a/debug.go b/debug.go new file mode 100644 index 0000000..7ae05d4 --- /dev/null +++ b/debug.go @@ -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) +}