Skip to content

Commit 9023d66

Browse files
authored
Merge pull request #1244 from alexandear-org/chore-redundant-build-tags
Remove redundant build tags
2 parents 1049490 + 34c2b4a commit 9023d66

38 files changed

+4
-37
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ linters:
1313
- unparam
1414
- nakedret
1515
- prealloc
16+
- revive
1617
#- gosec
1718
linters-settings:
1819
misspell:
1920
locale: US
21+
revive:
22+
rules:
23+
- name: redundant-build-tag
2024
issues:
2125
max-same-issues: 0
2226
max-issues-per-linter: 0

database/firebird/firebird.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build go1.9
2-
// +build go1.9
32

43
package firebird
54

database/mysql/mysql.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build go1.9
2-
// +build go1.9
32

43
package mysql
54

database/pgx/pgx.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build go1.9
2-
// +build go1.9
32

43
package pgx
54

database/pgx/v5/pgx.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build go1.9
2-
// +build go1.9
32

43
package pgx
54

database/postgres/postgres.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build go1.9
2-
// +build go1.9
32

43
package postgres
54

database/redshift/redshift.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build go1.9
2-
// +build go1.9
32

43
package redshift
54

internal/cli/build_aws-s3.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build aws_s3
2-
// +build aws_s3
32

43
package cli
54

internal/cli/build_bitbucket.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build bitbucket
2-
// +build bitbucket
32

43
package cli
54

internal/cli/build_cassandra.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build cassandra
2-
// +build cassandra
32

43
package cli
54

0 commit comments

Comments
 (0)