I don't have any printf() console.log() fmt.Println() when I commit code.
printf()
console.log()
fmt.Println()
Wherever logging needs to stay in production, they go through libraries:
Then, I can use console.log etc freely during debugging, and run git grep -nw console.log to find and delete them before committing code.
console.log
git grep -nw console.log
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
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.
I don't have any
printf()
console.log()
fmt.Println()
when I commit code.Wherever logging needs to stay in production, they go through libraries:
Then, I can use
console.log
etc freely during debugging, and rungit grep -nw console.log
to find and delete them before committing code.