Feat: upgrade go1.19 (#4790)

This commit is contained in:
Somefive
2022-09-28 10:19:28 +08:00
committed by GitHub
parent 9b6ec588f5
commit 668a637f86
70 changed files with 223 additions and 449 deletions

View File

@@ -1,5 +1,5 @@
GOLANGCILINT_VERSION ?= v1.38.0
GOLANGCILINT_VERSION ?= v1.49.0
.PHONY: golangci
golangci:
@@ -25,7 +25,7 @@ ifeq (, $(shell which staticcheck))
@{ \
set -e ;\
echo 'installing honnef.co/go/tools/cmd/staticcheck ' ;\
GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck@v0.3.0 ;\
go install honnef.co/go/tools/cmd/staticcheck@2022.1 ;\
}
STATICCHECK=$(GOBIN)/staticcheck
else