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