summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/common.go
blob: 1c14b7f4e54a81e0c75ba728f9d2a67204a80685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package controllers

import (
	"github.com/jesseduffield/lazygit/pkg/gui/controllers/helpers"
)

type controllerCommon struct {
	c       *helpers.HelperCommon
	helpers *helpers.Helpers
}

func NewControllerCommon(
	c *helpers.HelperCommon,
	helpers *helpers.Helpers,
) *controllerCommon {
	return &controllerCommon{
		c:       c,
		helpers: helpers,
	}
}