proposal: Improve error handing using guard and must keywords.
Автор статьи находит предложение по улучшению обработки ошибок в Go интересным, но не совсем тем, что хотелось бы увидеть реализованным. А что, собственно, не так? Читайте в статье. 👇
Читать
I'll start with an example. Here's a version of the CopyFile example function form the proposal for improved error handling in Go 2.0, rewritting using must and guard: func CopyFile...