mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-07 22:02:56 +03:00
generalised logs
This commit is contained in:
14
main.go
14
main.go
@@ -1,15 +1,23 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"time"
|
||||
)
|
||||
|
||||
// StartTime : The starting time of the app
|
||||
var StartTime time.Time
|
||||
var (
|
||||
startTime time.Time
|
||||
debugging bool
|
||||
)
|
||||
|
||||
func main() {
|
||||
debuggingPointer := flag.Bool("debug", false, "a boolean")
|
||||
flag.Parse()
|
||||
debugging = *debuggingPointer
|
||||
fmt.Println(homeDirectory() + "/go/src/github.com/jesseduffield/lazygit/development.log")
|
||||
devLog("\n\n\n\n\n\n\n\n\n\n")
|
||||
StartTime = time.Now()
|
||||
startTime = time.Now()
|
||||
verifyInGitRepo()
|
||||
run()
|
||||
}
|
||||
|
Reference in New Issue
Block a user