summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-06-02 08:35:49 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-06-02 08:35:49 +1000
commit103a6fd21970db5590040e3eef28a2228e7279ef (patch)
treeef8f62bd7a13c879e69b632a2de5aaffc2bef02a /main.go
parenta555a75565c2737a41583063936a70ab5e07c0e4 (diff)
logging durations and more stuff
Diffstat (limited to 'main.go')
-rw-r--r--main.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/main.go b/main.go
index 10272d56b..66f9686b3 100644
--- a/main.go
+++ b/main.go
@@ -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()
}