Closed yamatokataoka closed 2 years ago
Golint is deprecated and frozen.
it seems there are a lot of linters out there. https://about.sourcegraph.com/go/gophercon-2019-go-linters-myths-and-best-practices/
golangci-lint seems useful as a Go linters aggregator.
let's start from default config with gofmt to find out which ones are useful.
Docker command for Go development
docker run --rm -it \
--name go-dev \
-u $(id -u):$(id -g) \
-w /app \
-v $PWD:/app \
-p 8080:8080 \
-e GOCACHE=/tmp/.cache golang:1.17.4-alpine sh