go-error-handling
Installation
SKILL.md
Go Error Handling
Master Go's error handling patterns including error wrapping, sentinel errors, custom error types, and the errors package for robust applications.
Basic Error Handling
Creating and returning errors:
package main
import (
"errors"
"fmt"
)