mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
logging durations and more stuff
This commit is contained in:
parent
a555a75565
commit
103a6fd219
10 changed files with 73 additions and 93 deletions
12
main.go
12
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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue