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/public | |
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/public')
-rw-r--r-- | modules/public/public_bindata.go | 1 | ||||
-rw-r--r-- | modules/public/serve_dynamic.go | 1 | ||||
-rw-r--r-- | modules/public/serve_static.go | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/modules/public/public_bindata.go b/modules/public/public_bindata.go index 25c3c0d2a1..fe250c6454 100644 --- a/modules/public/public_bindata.go +++ b/modules/public/public_bindata.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build bindata -// +build bindata package public diff --git a/modules/public/serve_dynamic.go b/modules/public/serve_dynamic.go index 955c01e510..672924a636 100644 --- a/modules/public/serve_dynamic.go +++ b/modules/public/serve_dynamic.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build !bindata -// +build !bindata package public diff --git a/modules/public/serve_static.go b/modules/public/serve_static.go index 8e82175e39..9666880adf 100644 --- a/modules/public/serve_static.go +++ b/modules/public/serve_static.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build bindata -// +build bindata package public |