multi: add golang 1.17 compatible build tags

With go 1.17 a change to the build flags was implemented:
https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md

The formatter now automatically adds the forward-compatible build tag
format and the linter checks for them, so we need to include them in our
code.
This commit is contained in:
Oliver Gugger authored and Olaoluwa Osuntokun committed 2021-09-29 17:31:37 -07:00
1 parent d973cf1060
commit 0b4e03f5fc
187 files changed
+189 -4

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
//go:build autopilotrpc
// +build autopilotrpc
package main
+1
View File
@@ -1,3 +1,4 @@
//go:build !autopilotrpc
// +build !autopilotrpc
package main
+1
View File
@@ -1,3 +1,4 @@
//go:build invoicesrpc
// +build invoicesrpc
package main
+1
View File
@@ -1,3 +1,4 @@
//go:build !invoicesrpc
// +build !invoicesrpc
package main
+1
View File
@@ -1,3 +1,4 @@
//go:build walletrpc
// +build walletrpc
package main
+1
View File
@@ -1,3 +1,4 @@
//go:build !walletrpc
// +build !walletrpc
package main
+1
View File
@@ -1,3 +1,4 @@
//go:build watchtowerrpc
// +build watchtowerrpc
package main
+1
View File
@@ -1,3 +1,4 @@
//go:build !watchtowerrpc
// +build !watchtowerrpc
package main