From c18d8d6968cb175703942631f0094ffb415f51f4 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Mon, 2 May 2022 23:22:45 +0800 Subject: Remove legacy `+build:` constraint (#19582) Go 1.17 and later use modern `//go:build` constraints, the old `// +build:` constraints should be removed. --- modules/git/repo_branch_nogogit.go | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/git/repo_branch_nogogit.go') diff --git a/modules/git/repo_branch_nogogit.go b/modules/git/repo_branch_nogogit.go index 4393db10f9..3aed4abdf3 100644 --- a/modules/git/repo_branch_nogogit.go +++ b/modules/git/repo_branch_nogogit.go @@ -4,7 +4,6 @@ // license that can be found in the LICENSE file. //go:build !gogit -// +build !gogit package git -- cgit v1.2.3