1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00

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. // 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

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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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 !windows //go:build !windows
// +build !windows
package graceful package graceful

View file

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

View file

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

View file

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

View file

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

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 lfs package lfs

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 lfs package lfs

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 migration package migration

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 migration package migration

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 migration package migration

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 options package options

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 options package options

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 options package options

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 public package public

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 public package public

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 public package public

View file

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

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 svg package svg

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 templates package templates

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 templates package templates

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 templates package templates

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 !windows //go:build !windows
// +build !windows
package v1 package v1

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 !windows //go:build !windows
// +build !windows
package private package private

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 windows //go:build windows
// +build windows
package private package private

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 !windows //go:build !windows
// +build !windows
package web package web

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 gofuzz //go:build gofuzz
// +build gofuzz
package fuzz package fuzz