what pre-commit hook do you discover very helpful when working with Golang in manufacturing?
i added few in my code however I’m unable to get one which forces utilizing camel case as an alternative of snake case
Almost each editor will gofmt
your code on save. I’ve by no means seen snake case within the wild. That’s most likely extra of a code evaluate / fashion enforcement factor.
Are you utilizing any particular instruments or libraries (like golangci-lint
, go fmt
, or gofmt
) in your pre-commit hooks, and have you ever explored their customization choices for naming conventions?