본문으로 건너뛰기
0

이 레슨은 당분간 영어로 제공돼요.

Errors are just values

Go has no exceptions for everyday failures. A function that can fail returns an error as its last result, and the caller checks it right there. Failures stay visible in the code, exactly where they can happen.