summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/types.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-01-28 20:44:36 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-17 19:13:40 +1100
commita90b6efded49abcfa2516db794d7875b0396f558 (patch)
treead9c3738830437064ada223f0978dab1d726b479 /pkg/gui/controllers/types.go
parentfa8571e1f4c349e401542285ea238acdbd9d17ec (diff)
start refactoring gui
Diffstat (limited to 'pkg/gui/controllers/types.go')
-rw-r--r--pkg/gui/controllers/types.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/gui/controllers/types.go b/pkg/gui/controllers/types.go
new file mode 100644
index 000000000..75abc1704
--- /dev/null
+++ b/pkg/gui/controllers/types.go
@@ -0,0 +1,13 @@
+package controllers
+
+import (
+ "github.com/jesseduffield/lazygit/pkg/gui/popup"
+ "github.com/jesseduffield/lazygit/pkg/gui/types"
+)
+
+type IGuiCommon interface {
+ popup.IPopupHandler
+
+ LogAction(string)
+ Refresh(types.RefreshOptions) error
+}