mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
generalised logs
This commit is contained in:
parent
68a23f14e8
commit
0d2076c57c
3 changed files with 30 additions and 9 deletions
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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue