/go-to-hell-with-your-panic

Some sample code for my youtube video.

Primary LanguageGoApache License 2.0Apache-2.0

go-to-hell-with-your-panic

Some sample code for my youtube video.

Points:

  • Try to avoid using panic in your code.
  • Return errors instead wrapped with fmt.Errorf(...)