Skip to content

Commit 3753ef6

Browse files
Remove obsolete Go build tags (#989)
A new Go build tag syntax in the form `//go:build` was added in Go 1.17. In Go 1.18, this new syntax replaced the old syntax, which used the form `// +build`. The fabric-gateway code retained both build tags for backwards compatibility. Since the minimum supported Go version is now 1.24, the old format is obsolete and now flags a linting error. This change removes the old style build tags. Signed-off-by: Mark S. Lewis <[email protected]>
1 parent 3b90cf9 commit 3753ef6

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

pkg/identity/hsmsign.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
//go:build pkcs11
5-
// +build pkcs11
65

76
package identity
87

pkg/identity/hsmsign_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
//go:build pkcs11
5-
// +build pkcs11
65

76
package identity
87

0 commit comments

Comments
 (0)