If you plan to use tools like gosec, go-critic and golangci-lint (and you should!), you might also consider automating their usage with something like pre-commit hooks.
I use them in my own projects ands find it very useful to both reject commits when checks fail, and to make it easy to invoke the checks manually as I'm developing.
Great addition to the article! Thanks for the link and the (brief) explanation. That's what I write articles for, so we can communicate through them and learn new tools.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Greetings,
/self-promotion:
If you plan to use tools like
gosec
,go-critic
andgolangci-lint
(and you should!), you might also consider automating their usage with something like pre-commit hooks.My golang hooks package has built-in support for all 3 tools.
I use them in my own projects ands find it very useful to both reject commits when checks fail, and to make it easy to invoke the checks manually as I'm developing.
Hi,
Great addition to the article! Thanks for the link and the (brief) explanation. That's what I write articles for, so we can communicate through them and learn new tools.