diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2022-05-02 23:22:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 23:22:45 +0800 |
commit | c18d8d6968cb175703942631f0094ffb415f51f4 (patch) | |
tree | eab9c1aee4f2eedf1e17323c74c3c7ada7256776 /modules/migration | |
parent | e2a3f3d259d230b7d1f62138e789ccdfd8f43b73 (diff) | |
download | gitea-c18d8d6968cb175703942631f0094ffb415f51f4.tar.gz gitea-c18d8d6968cb175703942631f0094ffb415f51f4.zip |
Remove legacy `+build:` constraint (#19582)
Go 1.17 and later use modern `//go:build` constraints, the old `// +build:` constraints should be removed.
Diffstat (limited to 'modules/migration')
-rw-r--r-- | modules/migration/schemas_bindata.go | 1 | ||||
-rw-r--r-- | modules/migration/schemas_dynamic.go | 1 | ||||
-rw-r--r-- | modules/migration/schemas_static.go | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/modules/migration/schemas_bindata.go b/modules/migration/schemas_bindata.go index d0fef698b4..febe0f75c0 100644 --- a/modules/migration/schemas_bindata.go +++ b/modules/migration/schemas_bindata.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build bindata -// +build bindata package migration diff --git a/modules/migration/schemas_dynamic.go b/modules/migration/schemas_dynamic.go index c883fafe98..1b767b2e72 100644 --- a/modules/migration/schemas_dynamic.go +++ b/modules/migration/schemas_dynamic.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build !bindata -// +build !bindata package migration diff --git a/modules/migration/schemas_static.go b/modules/migration/schemas_static.go index 10c83b313a..02957fc4ed 100644 --- a/modules/migration/schemas_static.go +++ b/modules/migration/schemas_static.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build bindata -// +build bindata package migration |