aboutsummaryrefslogtreecommitdiffstats
path: root/worker
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2021-12-11 23:20:53 +0100
committerRobin Jarry <robin@jarry.cc>2021-12-11 23:24:08 +0100
commitb331371a6585b6a0cba678b2deba332e470a478b (patch)
tree12d2efafdd6f209eaf0a3ad53dea7d071a24fa35 /worker
parent6857ab7a71d118b6ed85087e0977b9037c1540a2 (diff)
downloadaerc-b331371a6585b6a0cba678b2deba332e470a478b.tar.gz
format: reformat code with go 1.17
There was a change in how build tags are formatted. Use this as new reference. Link: https://go.dev/doc/go1.17#gofmt Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker')
-rw-r--r--worker/handler_notmuch.go3
-rw-r--r--worker/notmuch/eventhandlers.go3
-rw-r--r--worker/notmuch/events.go3
-rw-r--r--worker/notmuch/lib/database.go3
-rw-r--r--worker/notmuch/lib/thread.go3
-rw-r--r--worker/notmuch/message.go3
-rw-r--r--worker/notmuch/worker.go3
7 files changed, 14 insertions, 7 deletions
diff --git a/worker/handler_notmuch.go b/worker/handler_notmuch.go
index 5e9c166d..8944d281 100644
--- a/worker/handler_notmuch.go
+++ b/worker/handler_notmuch.go
@@ -1,4 +1,5 @@
-//+build notmuch
+//go:build notmuch
+// +build notmuch
package worker
diff --git a/worker/notmuch/eventhandlers.go b/worker/notmuch/eventhandlers.go
index 976cbfd4..3daabda3 100644
--- a/worker/notmuch/eventhandlers.go
+++ b/worker/notmuch/eventhandlers.go
@@ -1,4 +1,5 @@
-//+build notmuch
+//go:build notmuch
+// +build notmuch
package notmuch
diff --git a/worker/notmuch/events.go b/worker/notmuch/events.go
index 2140d680..b3542279 100644
--- a/worker/notmuch/events.go
+++ b/worker/notmuch/events.go
@@ -1,4 +1,5 @@
-//+build notmuch
+//go:build notmuch
+// +build notmuch
package notmuch
diff --git a/worker/notmuch/lib/database.go b/worker/notmuch/lib/database.go
index ad670c54..46a39bc5 100644
--- a/worker/notmuch/lib/database.go
+++ b/worker/notmuch/lib/database.go
@@ -1,4 +1,5 @@
-//+build notmuch
+//go:build notmuch
+// +build notmuch
package lib
diff --git a/worker/notmuch/lib/thread.go b/worker/notmuch/lib/thread.go
index 297260d8..33bf872c 100644
--- a/worker/notmuch/lib/thread.go
+++ b/worker/notmuch/lib/thread.go
@@ -1,4 +1,5 @@
-//+build notmuch
+//go:build notmuch
+// +build notmuch
package lib
diff --git a/worker/notmuch/message.go b/worker/notmuch/message.go
index 41bfd0b0..c95c9bac 100644
--- a/worker/notmuch/message.go
+++ b/worker/notmuch/message.go
@@ -1,4 +1,5 @@
-//+build notmuch
+//go:build notmuch
+// +build notmuch
package notmuch
diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go
index 09b5d509..575cd565 100644
--- a/worker/notmuch/worker.go
+++ b/worker/notmuch/worker.go
@@ -1,4 +1,5 @@
-//+build notmuch
+//go:build notmuch
+// +build notmuch
package notmuch