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
Full error: ./main.go:103:11: loop variable command captured by func literal
./main.go:103:11: loop variable command captured by func literal
It means that if new commands are added in the future, the go routines will all run the same (likely the last) command in the slice and crash.
The text was updated successfully, but these errors were encountered:
fix: loop variable command capture
577095a
fixes: scratchdata#63
It might also help to set up Github actions for go test/vet and maybe even golangci-lint (but that might be annoying at this stage)
Sorry, something went wrong.
No branches or pull requests
Full error:
./main.go:103:11: loop variable command captured by func literal
It means that if new commands are added in the future, the go routines will all run the same (likely the last) command in the slice and crash.
The text was updated successfully, but these errors were encountered: