The package ctx
was adding to Golang after people had started using requests.
In order to use ctxerr you need context passed with every function that returns and error.
This is a find and replace that adds ctx context.Context
to all functions that return an error.
- Open VSCode or Curser and do an editor serach
cmd + shift + f
- Set it to regex find by clicking the
.*
button