package
0.0.0-20230130100827-6c64ebff31b2
Repository: https://github.com/packtpublishing/go-cookbook.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

BasicErrors demonstrates some ways to create errors.
SomeFunc returns an error.

# Variables

ErrorValue is a way to make a package level error to check against.

# Structs

CustomError is a struct that will implement the Error() interface.
TypedError is a way to make an error type you can do err.(type) == ErrorValue.