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 package lib

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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