We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coreで go run github.com/matsuri-tech/golint-extra ./... した結果
go run github.com/matsuri-tech/golint-extra ./...
panic: runtime error: index out of range [0] with length 0 goroutine 3683 [running]: github.com/matsuri-tech/golint-extra/rules.run.func2(0x80cec0, 0xc0006335c0) /home/ishibashi/go/pkg/mod/github.com/matsuri-tech/golint-extra@v0.0.0-20200313095921-7f08cdca73ed/rules/zerovalue_struct.go:140 +0xa1a golang.org/x/tools/go/ast/inspector.(*Inspector).Preorder(0xc0032efc60, 0xc000a799e0, 0x1, 0x1, 0xc000a79a50) /home/ishibashi/go/pkg/mod/golang.org/x/tools@v0.0.0-20200308013534-11ec41452d41/go/ast/inspector/inspector.go:77 +0x9f github.com/matsuri-tech/golint-extra/rules.run(0xc003310820, 0xc00328dc30, 0xa12a80, 0xc00319f708, 0x8) /home/ishibashi/go/pkg/mod/github.com/matsuri-tech/golint-extra@v0.0.0-20200313095921-7f08cdca73ed/rules/zerovalue_struct.go:103 +0x40c golang.org/x/tools/go/analysis/internal/checker.(*action).execOnce(0xc0032ec460) /home/ishibashi/go/pkg/mod/golang.org/x/tools@v0.0.0-20200308013534-11ec41452d41/go/analysis/internal/checker/checker.go:658 +0x6fa sync.(*Once).doSlow(0xc0032ec460, 0xc0007a0f90) /snap/go/5364/src/sync/once.go:66 +0xe3 sync.(*Once).Do(...) /snap/go/5364/src/sync/once.go:57 golang.org/x/tools/go/analysis/internal/checker.(*action).exec(0xc0032ec460) /home/ishibashi/go/pkg/mod/golang.org/x/tools@v0.0.0-20200308013534-11ec41452d41/go/analysis/internal/checker/checker.go:577 +0x60 golang.org/x/tools/go/analysis/internal/checker.execAll.func1(0xc0032ec460) /home/ishibashi/go/pkg/mod/golang.org/x/tools@v0.0.0-20200308013534-11ec41452d41/go/analysis/internal/checker/checker.go:565 +0x34 created by golang.org/x/tools/go/analysis/internal/checker.execAll /home/ishibashi/go/pkg/mod/golang.org/x/tools@v0.0.0-20200308013534-11ec41452d41/go/analysis/internal/checker/checker.go:571 +0x119 exit status 2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
coreで
go run github.com/matsuri-tech/golint-extra ./...
した結果The text was updated successfully, but these errors were encountered: