logging durations and more stuff

This commit is contained in:
Jesse Duffield 2018-06-02 08:35:49 +10:00
parent a555a75565
commit 103a6fd219
10 changed files with 73 additions and 93 deletions

12
main.go
View file

@ -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()
}