1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-22 05:29:44 +02:00

25 lines
407 B
Go
Raw Normal View History

2022-02-06 15:54:26 +11:00
package controllers
import (
"github.com/jesseduffield/lazygit/pkg/gui/controllers/helpers"
)
2023-03-23 18:47:29 +11:00
type ControllerCommon struct {
*helpers.HelperCommon
IGetHelpers
}
type IGetHelpers interface {
Helpers() *helpers.Helpers
2022-02-06 15:54:26 +11:00
}
func NewControllerCommon(
c *helpers.HelperCommon,
2023-03-23 18:47:29 +11:00
IGetHelpers IGetHelpers,
) *ControllerCommon {
return &ControllerCommon{
HelperCommon: c,
IGetHelpers: IGetHelpers,
2022-02-06 15:54:26 +11:00
}
}