diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-06-02 08:35:49 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-06-02 08:35:49 +1000 |
commit | 103a6fd21970db5590040e3eef28a2228e7279ef (patch) | |
tree | ef8f62bd7a13c879e69b632a2de5aaffc2bef02a /main.go | |
parent | a555a75565c2737a41583063936a70ab5e07c0e4 (diff) |
logging durations and more stuff
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,11 +1,15 @@ package main -import "github.com/fatih/color" +import ( + "time" +) + +// StartTime : The starting time of the app +var StartTime time.Time func main() { - verifyInGitRepo() - a, b := gitUpstreamDifferenceCount() - colorLog(color.FgRed, a, b) devLog("\n\n\n\n\n\n\n\n\n\n") + StartTime = time.Now() + verifyInGitRepo() run() } |