Skip to content

Instantly share code, notes, and snippets.

@by-sabbir
Created October 15, 2022 15:14
Show Gist options
  • Save by-sabbir/a83b68f0c1df758dc03de93002db08d7 to your computer and use it in GitHub Desktop.
Save by-sabbir/a83b68f0c1df758dc03de93002db08d7 to your computer and use it in GitHub Desktop.

Revisions

  1. by-sabbir created this gist Oct 15, 2022.
    9 changes: 9 additions & 0 deletions sequentialwrite
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    ...

    row, err := db.Client.QueryContext(
    ctx,
    qs,
    ...
    )

    ... // check for error and close the row