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/lfs | |
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/lfs')
-rw-r--r-- | modules/lfs/pointer_scanner_gogit.go | 1 | ||||
-rw-r--r-- | modules/lfs/pointer_scanner_nogogit.go | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/modules/lfs/pointer_scanner_gogit.go b/modules/lfs/pointer_scanner_gogit.go index b4ba6fc133..ed27cb1f55 100644 --- a/modules/lfs/pointer_scanner_gogit.go +++ b/modules/lfs/pointer_scanner_gogit.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gogit -// +build gogit package lfs diff --git a/modules/lfs/pointer_scanner_nogogit.go b/modules/lfs/pointer_scanner_nogogit.go index cdf88c51b0..d17f1f7b98 100644 --- a/modules/lfs/pointer_scanner_nogogit.go +++ b/modules/lfs/pointer_scanner_nogogit.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build !gogit -// +build !gogit package lfs |