Skip to content

docs: update sqlstore.New example to include context parameter#1133

Open
Jakeyzerk wants to merge 1 commit into
tulir:mainfrom
Jakeyzerk:fix/docs-context-examples
Open

docs: update sqlstore.New example to include context parameter#1133
Jakeyzerk wants to merge 1 commit into
tulir:mainfrom
Jakeyzerk:fix/docs-context-examples

Conversation

@Jakeyzerk
Copy link
Copy Markdown

@Jakeyzerk Jakeyzerk commented May 7, 2026

The example comment in client.go was using the old API signature
without context.Context. Updated to match the current signature
which requires context as the first parameter.

The example in store/sqlstore/container.go is already correct.


Checklist


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant