1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-10 11:10:18 +02:00
lazygit/pkg/gui/controllers/common.go

21 lines
355 B
Go
Raw Normal View History

2022-02-06 06:54:26 +02:00
package controllers
import (
"github.com/jesseduffield/lazygit/pkg/gui/controllers/helpers"
)
type controllerCommon struct {
2023-03-23 04:04:57 +02:00
c *helpers.HelperCommon
helpers *helpers.Helpers
2022-02-06 06:54:26 +02:00
}
func NewControllerCommon(
c *helpers.HelperCommon,
2022-02-06 06:54:26 +02:00
helpers *helpers.Helpers,
) *controllerCommon {
return &controllerCommon{
2023-03-23 04:04:57 +02:00
c: c,
helpers: helpers,
2022-02-06 06:54:26 +02:00
}
}