title: LearnErrorHandling

This page links to resources about error handling in Go.

Getting Started

  • Read Effective Go: Errors
  • Code A Tour of Go: Errors and do the exercise
  • Study The Go Programming Language Specification: Errors
  • Study Package errors
  • Study func fmt.Errorf

Standard Practice

  • Read Why does Go not have exceptions?
  • Read Error handling and Go
  • Read Go by Example: Errors
  • Read Errors are values
  • Read Working with Errors in Go 1.13
  • Read golang/go/wiki: Errors

Advanced Topics

  • Read Why is my nil error value not equal to nil?
  • Read Defer, Panic, and Recover
Powered by Gitiles| Privacy| Terms
sourcelogblame