diff options
author | Aria <me@aria.rip> | 2023-02-03 15:48:00 +0000 |
---|---|---|
committer | Aria <me@aria.rip> | 2023-02-03 15:48:00 +0000 |
commit | 15c9b9308d353d558f7c4fc2fe03012afc84be40 (patch) | |
tree | faff8319ffc87d10447274a12751ddc43216649d /main.go | |
parent | 8c3b1aee5a253416523de78877ae03c3868cc62c (diff) |
better error handling
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 } |