status-go/cmd/status/main.go

15 lines
256 B
Go
Raw Normal View History

package main
import (
"fmt"
2016-06-20 14:47:10 +00:00
)
var (
gitCommit = "rely on linker: -ldflags -X main.GitCommit"
buildStamp = "rely on linker: -ldflags -X main.buildStamp"
)
2016-06-20 15:21:45 +00:00
func main() {
fmt.Printf("Status\nGit Commit: %s\nBuild Time: %s\n", gitCommit, buildStamp)
2016-06-20 15:21:45 +00:00
}