Go Programming Cookbook – Second Edition | 4. Error Handling in Go

Опубликовано: 11 Октябрь 2024
на канале: Code in Action
47
0

Go Programming Cookbook – Second Edition is available from:
Packt.com: http://bit.ly/2My3ppE
Amazon: https://amzn.to/2SVOTcw

This is the “Code in Action” video for chapter 4 of Go Programming Cookbook – Second Edition by Aaron Torres, published by Packt. It includes the following topics:
0:12 Handling errors and the Error interface
0:29 Using the pkg/errors package and wrapping errors
0:40 Using the log package and understanding when to log errors
0:54 Structured logging with the apex and logrus packages
1:22 Logging with the context package
1:43 Using package-level global variables
2:00 Catching panics for long-running processes

Go Programming Cookbook will help you in upgrading your earlier knowledge of Golang. It will help you become a confident developer by exploring different tasks in various domains in a practical environment. The recipes in this book will assist you in finding solutions to common backend/DevOps problems.

Connect with Packt:
Find us on Facebook:   / packtpub  
Find us on Twitter:   / packtpub  

Video created by Romy Dias