summaryrefslogtreecommitdiffstats
path: root/pkg/gui/types/ref.go
diff options
context:
space:
mode:
authorRyooooooga <eial5q265e5@gmail.com>2022-03-26 22:18:08 +0900
committerJesse Duffield <jessedduffield@gmail.com>2022-04-02 17:04:42 +1100
commit4835fc00b861c6117c1d4d6873a05d808e54b4cf (patch)
tree6f521eb16da8c9310cab776d6b57e84de32d4752 /pkg/gui/types/ref.go
parent30be50b641dbe594d7968e79536028f22beee1b0 (diff)
introduce Ref interface
Diffstat (limited to 'pkg/gui/types/ref.go')
-rw-r--r--pkg/gui/types/ref.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/gui/types/ref.go b/pkg/gui/types/ref.go
new file mode 100644
index 000000000..49a15b275
--- /dev/null
+++ b/pkg/gui/types/ref.go
@@ -0,0 +1,7 @@
+package types
+
+type Ref interface {
+ RefName() string
+ ParentRefName() string
+ Description() string
+}