aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAria <me@aria.rip>2023-02-03 15:48:00 +0000
committerAria <me@aria.rip>2023-02-03 15:48:00 +0000
commit15c9b9308d353d558f7c4fc2fe03012afc84be40 (patch)
treefaff8319ffc87d10447274a12751ddc43216649d /main.go
parent8c3b1aee5a253416523de78877ae03c3868cc62c (diff)
better error handling
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index c4cb4f2..4bee772 100644
--- a/main.go
+++ b/main.go
@@ -14,6 +14,8 @@ type item struct {
contents string
}
+type fatalErrorMsg error
+
func (i item) Title() string { return i.title }
func (i item) Description() string { return i.contents }
func (i item) FilterValue() string { return i.title }