mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-04-26 13:49:21 +08:00
lint the code with vim-go
This commit is contained in:
parent
66a73bae4b
commit
f12f0b694e
4
gomu.go
4
gomu.go
@ -91,8 +91,8 @@ func (g *Gomu) cyclePanels() Panel {
|
||||
}
|
||||
|
||||
func (g *Gomu) cyclePanels2() Panel {
|
||||
first :=g.panels[0]
|
||||
second :=g.panels[1]
|
||||
first := g.panels[0]
|
||||
second := g.panels[1]
|
||||
if first.HasFocus() {
|
||||
g.setFocusPanel(second)
|
||||
g.prevPanel = second
|
||||
|
1
main.go
1
main.go
@ -30,7 +30,6 @@ func setupLog() {
|
||||
log.Fatalf("Error opening file %s", logFile)
|
||||
}
|
||||
|
||||
|
||||
log.SetOutput(file)
|
||||
log.SetFlags(log.Ldate | log.Ltime | log.Llongfile)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user