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) +}