From b331371a6585b6a0cba678b2deba332e470a478b Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Sat, 11 Dec 2021 23:20:53 +0100 Subject: 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 --- worker/notmuch/lib/database.go | 3 ++- worker/notmuch/lib/thread.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'worker/notmuch/lib') 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 -- cgit