You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Compile errors from # github.com/jesseduffield/lazygit/pkg/gui
To Reproduce
Steps to reproduce the behavior:
Install go version go1.11
Enable Go Mod export GO111MODULE=on
$ go get github.com/jesseduffield/lazygit
See error:
# github.com/jesseduffield/lazygit/pkg/gui
../../../../pkg/mod/github.com/jesseduffield/[email protected]/pkg/gui/branches_panel.go:153:3: g.Update undefined (type *gocui.Gui has no field or method Update)
../../../../pkg/mod/github.com/jesseduffield/[email protected]/pkg/gui/commit_message_panel.go:26:3: g.SetViewOnBottom undefined (type *gocui.Gui has no field or method SetViewOnBottom)
../../../../pkg/mod/github.com/jesseduffield/[email protected]/pkg/gui/commit_message_panel.go:32:3: g.SetViewOnBottom undefined (type *gocui.Gui has no field or method SetViewOnBottom)
../../../../pkg/mod/github.com/jesseduffield/[email protected]/pkg/gui/commit_message_panel.go:40:24: too many arguments in call to g.SetView
have (string, int, int, int, int, number)
want (string, int, int, int, int)
../../../../pkg/mod/github.com/jesseduffield/[email protected]/pkg/gui/commits_panel.go:12:3: g.Update undefined (type *gocui.Gui has no field or method Update)
../../../../pkg/mod/github.com/jesseduffield/[email protected]/pkg/gui/confirmation_panel.go:71:40: too many arguments in call to gui.g.SetView
have (string, int, int, int, int, number)
want (string, int, int, int, int)
../../../../pkg/mod/github.com/jesseduffield/[email protected]/pkg/gui/confirmation_panel.go:88:7: gui.g.SetViewOnBottom undefined (type *gocui.Gui has no field or method SetViewOnBottom)
../../../../pkg/mod/github.com/jesseduffield/[email protected]/pkg/gui/confirmation_panel.go:93:3: g.Update undefined (type *gocui.Gui has no field or method Update)
../../../../pkg/mod/github.com/jesseduffield/[email protected]/pkg/gui/confirmation_panel.go:123:24: too many arguments in call to g.SetView
have (string, int, int, int, int, number)
want (string, int, int, int, int)
../../../../pkg/mod/github.com/jesseduffield/[email protected]/pkg/gui/confirmation_panel.go:170:25: v.Dimensions undefined (type *gocui.View has no field or method Dimensions)
../../../../pkg/mod/github.com/jesseduffield/[email protected]/pkg/gui/confirmation_panel.go:170:25: too many errors
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Mac OS
Lazygit@latest
Additional context
With the introduction of Go 1.11 Go Vet has been updated, see docs here
The go vet command now reports a fatal error when the package under analysis does not typecheck. Previously, a type checking error simply caused a warning to be printed, and vet to exit with status 1.
The text was updated successfully, but these errors were encountered:
Describe the bug
Compile errors from
# github.com/jesseduffield/lazygit/pkg/gui
To Reproduce
Steps to reproduce the behavior:
export GO111MODULE=on
$ go get github.com/jesseduffield/lazygit
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
With the introduction of Go 1.11 Go Vet has been updated, see docs here
The text was updated successfully, but these errors were encountered: