I get this error message: What does this mean? Background: I am new to Go, and the linting was not set up by me. I confess that I don't know the a ...
I get this error message: What does this mean? Background: I am new to Go, and the linting was not set up by me. I confess that I don't know the a ...
In Go, we often write code with declaration in if statement and also return err. Like this: if res, err := getResult(); err != nil { retu ...
As per golint's README.md: When I run the command I get: But there is no such file: How can I find out where is golint? ...
I have a go module release to Github. At the beginning, I tagged it to v1.0.0 it was running perfectly on my main program importing that module direct ...
How to ignore test files(_test.go) using go/analysis? It seems like that go/analysis load test files by default. ...
I'm getting the following golintci message: Read the corresponding CWE and I'm not clear on how this is expected to be corrected. Please offer poi ...
I have installed Go and the VSCode extensions. I am using staticcheck as linter but I would like also to run the style checks provided by golint. Wh ...
I'm getting the following output when running https://golangci-lint.run/: Here is a cut down version of the code I am running: Here it is in go ...
go-lint is suggesting the following: Is the linter correct and if so why? It allowed the previous method: ...
I have created a make file to run some bash commands for Go. This is check.sh file This is my make file Error is : make: *** [Makefile:23: check] E ...
I'm trying to create a docker image for use in a build pipeline that has various tools pre-installed for building and testing go projects. One tool we ...
The code compiles fine, but when using the replace directive for mapping package name to a local directory, the Go linter can't pick this up. I've tr ...
There are many lint issues that VSCode, which uses Golint behind can detect but the command-line version of golint cannot. Hence CI/CD tools cannot de ...
I'm coding exercise for exercism.io. And my mentor said that my code should be checked by some go linters, and he suggested me to try golint and golan ...
I want to run golint on windows in GitHub Actions. But I met this error: What do I do next? This is my .github/workflows/test.yaml below. This ...
I have installed the Go extension (version 0.11.4) in Visual Studio Code on MacOS: However, I find that the linter does not 'pick up' functions def ...
I'm using GoLand IDE for developing Go applications. I decided to use this as lots of things worked out of the box and I'm used to JetBrains IDEs (And ...
While Running arc lint on a service I am seeing this error It suddenly started happening. ...
I run locally on my project the following command gometalinter --config=gometalinter.json ./... at the beginning I got some errors and I was fixed t ...