MENU

Fun & Interesting

5 Levels of Go Error Handling

RageCageCodes 17,085 lượt xem 1 year ago
Video Not Working? Fix It Now

Go's error system might seem like a pretty blunt instrument at first, but if you engage with it you can do a lot more than meets the eye. This video will go through an explanation of Go error handling and how to use Go errors in 5 levels.

VSCode Theme Used: One Monokai

Links to code used in the video:
https://github.com/RageCage64/go-5-levels-of-errors
https://github.com/google/yamlfmt/blob/c9bfa38f9b0c555a26200596d5f4dcef07627683/metadata.go#L36

Stole the ending meme from: https://about.sourcegraph.com/blog/go/go-lift

Comment