debug method
This commit is contained in:
parent
c2cf5fd5c9
commit
0a6362c21a
13
debug.go
Normal file
13
debug.go
Normal 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)
|
||||
}
|
Loading…
Reference in New Issue
Block a user