Remove legacy +build: constraint (#19582)

Go 1.17 and later use modern `//go:build` constraints, the old `// +build:` constraints should be removed.
This commit is contained in:
2022-05-02 23:22:45 +08:00
committed by GitHub
parent e2a3f3d259
commit c18d8d6968
86 changed files with 0 additions and 86 deletions

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build vendor //go:build vendor
// +build vendor
package main package main

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build ignore //go:build ignore
// +build ignore
package main package main

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build ignore //go:build ignore
// +build ignore
package main package main

View File

@ -4,7 +4,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build ignore //go:build ignore
// +build ignore
package main package main

View File

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

View File

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

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build ignore //go:build ignore
// +build ignore
package main package main

View File

@ -7,7 +7,6 @@
// merges them into one profile // merges them into one profile
//go:build ignore //go:build ignore
// +build ignore
package main package main

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build bindata //go:build bindata
// +build bindata
package cmd package cmd

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build !bindata //go:build !bindata
// +build !bindata
package cmd package cmd

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build pam //go:build pam
// +build pam
package pam package pam

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build !pam //go:build !pam
// +build !pam
package pam package pam

View File

@ -1,5 +1,4 @@
//go:build pam //go:build pam
// +build pam
// Copyright 2021 The Gitea Authors. All rights reserved. // Copyright 2021 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style // Use of this source code is governed by a MIT-style

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build test_avatar_identicon //go:build test_avatar_identicon
// +build test_avatar_identicon
package identicon package identicon

View File

@ -4,7 +4,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build gogit //go:build gogit
// +build gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build !gogit //go:build !gogit
// +build !gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build race //go:build race
// +build race
package git package git

View File

@ -4,7 +4,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build gogit //go:build gogit
// +build gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build gogit //go:build gogit
// +build gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build !gogit //go:build !gogit
// +build !gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build gogit //go:build gogit
// +build gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build !gogit //go:build !gogit
// +build !gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build gogit //go:build gogit
// +build gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build !gogit //go:build !gogit
// +build !gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build gogit //go:build gogit
// +build gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build gogit //go:build gogit
// +build gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build !gogit //go:build !gogit
// +build !gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build !gogit //go:build !gogit
// +build !gogit
package git package git

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build gogit //go:build gogit
// +build gogit
package pipeline package pipeline

View File

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build !gogit //go:build !gogit
// +build !gogit
package pipeline package pipeline

Some files were not shown because too many files have changed in this diff Show More