Go Time: Golang, Software Engineering cover image

SOLID Go Design

Go Time: Golang, Software Engineering

00:00

Go for Con - You've Got Your Own Package to Help With Error Handling

Go's error package is based on work by Roger Pepe and Rob Polk. The idea of cleaning up errors before giving them back to the caller has been percolating in Go for a few years. In grpc, they use that heavily in the constructors for all the grpc types. That leads to much loosely coupled way of error handling. If something happened, I'm going to clean up and hand it back to the person above you.

Play episode from 27:55
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app