mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
refactor controllers
This commit is contained in:
@@ -6,10 +6,10 @@ import (
|
||||
)
|
||||
|
||||
type ListControllerFactory struct {
|
||||
c *types.ControllerCommon
|
||||
c *types.HelperCommon
|
||||
}
|
||||
|
||||
func NewListControllerFactory(c *types.ControllerCommon) *ListControllerFactory {
|
||||
func NewListControllerFactory(c *types.HelperCommon) *ListControllerFactory {
|
||||
return &ListControllerFactory{
|
||||
c: c,
|
||||
}
|
||||
@@ -25,7 +25,7 @@ func (self *ListControllerFactory) Create(context types.IListContext) *ListContr
|
||||
|
||||
type ListController struct {
|
||||
baseController
|
||||
c *types.ControllerCommon
|
||||
c *types.HelperCommon
|
||||
|
||||
context types.IListContext
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user