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