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:
parent
7a4bb863dd
commit
b1c2dbdfc6
23 changed files with 6 additions and 23 deletions
|
|
@ -1,5 +1,4 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// +build integration
|
||||
//go:build integration
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// This package contains tests related to dnf-json and rpmmd package.
|
||||
|
||||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// +build integration
|
||||
//go:build integration
|
||||
|
||||
package constants
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
// koji.sh test because it needs a working Koji instance to pass.
|
||||
|
||||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package boot
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package azuretest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// +build integration
|
||||
//go:build integration
|
||||
|
||||
package azuretest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package boot
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// +build integration
|
||||
//go:build integration
|
||||
|
||||
package boot
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package boot
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// +build integration
|
||||
//go:build integration
|
||||
|
||||
package openstacktest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package vmwaretest
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
// Copyright (C) 2020 by Red Hat, Inc.
|
||||
|
||||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package client
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
// Copyright (C) 2020 by Red Hat, Inc.
|
||||
|
||||
//go:build !integration
|
||||
// +build !integration
|
||||
|
||||
package client
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build darwin
|
||||
// +build darwin
|
||||
|
||||
package crypt
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build !darwin
|
||||
// +build !darwin
|
||||
|
||||
package crypt
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue