You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the issue! Glad you find nakedret useful 🤠
nakedret takes the stance that naked returns are generally a source of bugs and take away from the simplicity of reading/writing Go code. That said, naked returns themselves are part of the Go language. There are fairly strong opinions on both sides - I'd encourage you to read golang/go#21291 to see both sides of the argument.
This is a very useful check. Why is it not part of the compiler?
The text was updated successfully, but these errors were encountered: