Skip to content

Commit 3a6b8a2

Browse files
committed
test: pin golangci-lint version
1 parent 341a87b commit 3a6b8a2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.PHONY: setup-pre-commit-ci
22
setup-pre-commit-ci:
3-
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
3+
# renovate: datasource=github-releases depName=swaggo/swag
4+
go install github.com/golangci/golangci-lint/cmd/[email protected]
45
# renovate: datasource=github-releases depName=swaggo/swag
56
go install github.com/swaggo/swag/cmd/[email protected]
67

pkg/controllers/transaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (f TransactionQueryFilter) ToCreate(c *gin.Context) (models.TransactionCrea
6767
}
6868

6969
// If the envelopeID is nil, use an actual nil, not uuid.Nil
70-
var eID *uuid.UUID = nil
70+
var eID *uuid.UUID
7171
if envelopeID != uuid.Nil {
7272
eID = &envelopeID
7373
}

0 commit comments

Comments
 (0)