19 lines
400 B
Go
19 lines
400 B
Go
package cli
|
|
|
|
import (
|
|
"fmt"
|
|
"runtime"
|
|
|
|
"git.rdelaage.ovh/rdelaage/cyanocorax/version"
|
|
)
|
|
|
|
func info() {
|
|
fmt.Println("Version:", version.Version)
|
|
fmt.Println("Commit:", version.Commit)
|
|
fmt.Println("Build date:", version.BuildDate)
|
|
fmt.Println("Go version:", runtime.Version())
|
|
fmt.Println("Compiler:", runtime.Compiler)
|
|
fmt.Println("Arch:", runtime.GOARCH)
|
|
fmt.Println("OS:", runtime.GOOS)
|
|
}
|