Lightlines
By cxuu

go-context

cxuu1.2k installs

Keep cancellation flowing through your Go code.

What it does

Guides Go code changes so contexts carry cancellation, deadlines, and request-scoped data consistently.

When to use it

Use when working with Go contexts, cancelling long-running operations, setting timeouts, or passing request-scoped data.

How to use it

It changes how the agent passes contexts, handles cancellation, and stores request-scoped data in Go project code.

What you provide

  • An existing project

Latest review

What you need · 1

Uses the standard-library context package, available since Go 1.7.


Access · 0

No additional actions listed.