forked from gitea/gitea
1
0
Fork 0

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:
wxiaoguang 2022-05-02 23:22:45 +08:00 committed by GitHub
parent e2a3f3d259
commit c18d8d6968
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
86 changed files with 0 additions and 86 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,4 @@
//go:build pam
// +build pam
// Copyright 2021 The Gitea Authors. All rights reserved.
// 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.
//go:build test_avatar_identicon
// +build test_avatar_identicon
package identicon

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,7 +4,6 @@
// This code is heavily inspired by the archived gofacebook/gracenet/net.go handler
//go:build windows
// +build windows
package graceful

View File

@ -4,7 +4,6 @@
// This code is heavily inspired by the archived gofacebook/gracenet/net.go handler
//go:build !windows
// +build !windows
package graceful

View File

@ -4,7 +4,6 @@
// This code is heavily inspired by the archived gofacebook/gracenet/net.go handler
//go:build windows
// +build windows
package graceful

View File

@ -4,7 +4,6 @@
// This code is heavily inspired by the archived gofacebook/gracenet/net.go handler
//go:build !windows
// +build !windows
package graceful

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,4 @@
//go:build sqlite
// +build sqlite
// Copyright 2014 The Gogs Authors. All rights reserved.
// 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.
//go:build bindata
// +build bindata
package svg

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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