summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-24 00:20:59 -0700
committerJeff Carr <[email protected]>2019-05-24 00:20:59 -0700
commit5b8660e989081d9f2fc6ab5926da2c9d65b871aa (patch)
tree7570f44dae92d2af4b6454f5c83314d4cc42ef54
parent83e8db1aacb2cb2192e099e1f297575e1c9f1ecb (diff)
buildtime debugging
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--splash.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/splash.go b/splash.go
index 829e361..bc2af04 100644
--- a/splash.go
+++ b/splash.go
@@ -39,6 +39,10 @@ func ShowSplashBox(vbox *ui.Box, atest chan int, custom func(int, string)) *ui.B
tmp := "go build version: " + Data.GoVersion
newbox.Append(ui.NewLabel(tmp), false)
}
+ if (Data.Buildtime != "") {
+ tmp := "build date: " + Data.Buildtime
+ newbox.Append(ui.NewLabel(tmp), false)
+ }
}
okButton := CreateButton("OK", "DONE", custom)