Lightlines
By samber

golang-samber-oops

samber34.7k installs

Go errors with context that survives every layer.

What it does

Guides agents in writing Go error handling with samber/oops so errors retain diagnostic context across application layers.

When to use it

Apply when using or adopting samber/oops, or when the codebase already imports github.com/samber/oops.

How to use it

It changes how the agent writes Go error handling by requiring structured attributes, stable error messages, and context at package boundaries.

What you provide

  • An existing project

Latest review

What you need · 2

Requires the Go toolchain; no version is specified.

The coding guidance uses the samber/oops error-handling library.


Access · 0

No additional actions listed.