run forever no results
#4774
-
I only add a code to test lint func demo2() {
var a = 1
c := 1
type Arg struct {
A int `json:"a"`
B string `json:"b"`
}
bs, _ := json.Marshal(&Arg{A: 1, B: "2"})
fmt.Println(bs)
fmt.Println(a, a, a)
fmt.Println(c)
return
} the command run forever, but no results > golangci-lint run -v --new=true --new-from-rev=origin/lhb-feat-linters --fix=false
INFO [config_reader] Config search paths: [./ /Users/liuhaibin/GolandProjects/snakeweb /Users/liuhaibin/GolandProjects /Users/liuhaibin /Users /]
INFO [config_reader] Used config file .golangci.yaml
INFO [lintersdb] Active 8 linters: [bodyclose errcheck gocritic govet nestif staticcheck unconvert unused]
INFO [loader] Go packages loading at mode 575 (files|imports|name|types_sizes|compiled_files|deps|exports_file) took 1.730391166s
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 259.445334ms
INFO Memory: 2957 samples, avg is 24576.8MB, max is 34783.3MB
INFO Execution took 5m0.069918167s
|
Beta Was this translation helpful? Give feedback.
Answered by
ldez
May 30, 2024
Replies: 1 comment
-
I don't reproduce your problem. I'm betting on a problem with the Go version you are using. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ldez
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't reproduce your problem.
I'm betting on a problem with the Go version you are using.