-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
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
Stack overflow while running linter #8
Comments
Can you please check, if you have a "loop" of nested structs, that you want to marshal? See the example in https://github.com/breml/errchkjson/pull/7/files#diff-c7997e94ab5881341585872352a6e9dce4ffac9df606a02d0c15e8feb05280a6 |
Yes, I am json encoding the modules the program was built with, see: version := struct {
// Removed other stuff
Modules []*debug.Module `json:"modules"`
}{}
bi, ok := debug.ReadBuildInfo()
if ok {
version.Modules = bi.Deps
} |
I'll be able to check this tomorrow, but I think I had the same problem so it should be looking good 😄 |
I have been using golangci-lint with most linters enabled, and in the latest version your linter has been added as a default.
However this crashes the linter with a stack overflow. Can you see what is happening from this stacktrace?
Let me know if you need more information!
The text was updated successfully, but these errors were encountered: