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>
This commit is contained in:
Robin Jarry 2021-12-11 23:20:53 +01:00
parent 6857ab7a71
commit b331371a65
9 changed files with 18 additions and 9 deletions

View File

@ -1,4 +1,5 @@
//+build !linux
//go:build !linux
// +build !linux
package lib

View File

@ -1,4 +1,5 @@
//+build linux
//go:build linux
// +build linux
package lib

View File

@ -1,4 +1,5 @@
//+build notmuch
//go:build notmuch
// +build notmuch
package worker

View File

@ -1,4 +1,5 @@
//+build notmuch
//go:build notmuch
// +build notmuch
package notmuch

View File

@ -1,4 +1,5 @@
//+build notmuch
//go:build notmuch
// +build notmuch
package notmuch

View File

@ -1,4 +1,5 @@
//+build notmuch
//go:build notmuch
// +build notmuch
package lib

View File

@ -1,4 +1,5 @@
//+build notmuch
//go:build notmuch
// +build notmuch
package lib

View File

@ -1,4 +1,5 @@
//+build notmuch
//go:build notmuch
// +build notmuch
package notmuch

View File

@ -1,4 +1,5 @@
//+build notmuch
//go:build notmuch
// +build notmuch
package notmuch