Remove old build tag comments

Go is transitioning from the old '// +build' form to '//go:build', this
removes all uses of the old form, adding the new one where needed.

See https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md
This commit is contained in:
Brian C. Lane 2023-03-06 11:38:28 -08:00 committed by Brian C. Lane
parent 7a4bb863dd
commit b1c2dbdfc6
23 changed files with 6 additions and 23 deletions

View file

@ -1,4 +1,4 @@
// +build tools
//go:build tools
// This file is here to just explicitly tell `go mod vendor` that we depend
// on oapi-codegen. Without this file, `go generate ./...` in Go >= 1.14 gets