diff options
Diffstat (limited to 'monzo_ynab/utils.go')
-rw-r--r-- | monzo_ynab/utils.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/monzo_ynab/utils.go b/monzo_ynab/utils.go new file mode 100644 index 000000000000..8b7decb90a3f --- /dev/null +++ b/monzo_ynab/utils.go @@ -0,0 +1,9 @@ +package main + +import "log" + +func failOn(err error) { + if err != nil { + log.Fatal(err) + } +} |