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,5 +1,4 @@
//go:build integration
// +build integration
package main

View file

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

View file

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

View file

@ -1,4 +1,4 @@
// +build integration
//go:build integration
package main

View file

@ -1,7 +1,6 @@
// This package contains tests related to dnf-json and rpmmd package.
//go:build integration
// +build integration
package main

View file

@ -1,4 +1,4 @@
// +build integration
//go:build integration
package constants

View file

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

View file

@ -4,7 +4,6 @@
// koji.sh test because it needs a working Koji instance to pass.
//go:build integration
// +build integration
package main

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
// +build integration
//go:build integration
package azuretest

View file

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

View file

@ -1,4 +1,4 @@
// +build integration
//go:build integration
package boot

View file

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

View file

@ -1,4 +1,4 @@
// +build integration
//go:build integration
package openstacktest

View file

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

View file

@ -2,7 +2,6 @@
// Copyright (C) 2020 by Red Hat, Inc.
//go:build integration
// +build integration
package client

View file

@ -2,7 +2,6 @@
// Copyright (C) 2020 by Red Hat, Inc.
//go:build !integration
// +build !integration
package client

View file

@ -1,5 +1,4 @@
//go:build !darwin
// +build !darwin
// Copied from https://github.com/amoghe/go-crypt/blob/b3e291286513a0c993f7c4dd7060d327d2d56143/crypt_r.go
// Original sources are under MIT license:

View file

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

View file

@ -1,5 +1,4 @@
//go:build !darwin
// +build !darwin
package crypt

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