aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-12 17:18:51 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-12 17:18:51 +0800
commitf0d6639ed3223d9f4fe97eebf860dd5e77132967 (patch)
treed9cce024667c03508c0305ed9407ce7675ec2795 /errors.go
parentAdd missing flag.Parse() (diff)
downloadmaild-f0d6639ed3223d9f4fe97eebf860dd5e77132967.tar.gz
maild-f0d6639ed3223d9f4fe97eebf860dd5e77132967.tar.zst
maild-f0d6639ed3223d9f4fe97eebf860dd5e77132967.zip
Reformat code
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/errors.go b/errors.go
index da4d028..b34e3a2 100644
--- a/errors.go
+++ b/errors.go
@@ -4,5 +4,7 @@ import (
"errors"
)
-var err_deliver_write = errors.New("unable to write to filesystem while attempting to deliver message")
-var err_unsupported_database_type = errors.New("unsupported database type; only \"postgres\" is currently supported")
+var (
+ err_deliver_write = errors.New("unable to write to filesystem while attempting to deliver message")
+ err_unsupported_database_type = errors.New("unsupported database type; only \"postgres\" is currently supported")
+)