Backend: Update Go build tags after upgrading to 1.17

This commit is contained in:
Michael Mayer 2021-08-31 18:49:08 +02:00
parent 14e2732684
commit 7f6fd7f47a
13 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
// This generates stopwords.go by running "go generate"

View file

@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
// This generates countries.go by running "go generate"

View file

@ -1,3 +1,4 @@
//go:build osm
// +build osm
package osm

View file

@ -1,3 +1,4 @@
//go:build osm
// +build osm
package osm

View file

@ -1,3 +1,4 @@
//go:build osm
// +build osm
package osm

View file

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build freebsd || openbsd || netbsd
// +build freebsd openbsd netbsd
package fastwalk

View file

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build (linux || darwin) && !appengine
// +build linux darwin
// +build !appengine

View file

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build darwin || freebsd || openbsd || netbsd
// +build darwin freebsd openbsd netbsd
package fastwalk

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux
// +build !appengine
//go:build linux && !appengine
// +build linux,!appengine
package fastwalk

View file

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build appengine || (!linux && !darwin && !freebsd && !openbsd && !netbsd)
// +build appengine !linux,!darwin,!freebsd,!openbsd,!netbsd
package fastwalk

View file

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build (linux || darwin || freebsd || openbsd || netbsd) && !appengine
// +build linux darwin freebsd openbsd netbsd
// +build !appengine

View file

@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
// This generates countries.go by running "go generate"

View file

@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
// This generates stopwords.go by running "go generate"