Skip to content

Example: SQL Database Resilience with sql.DB #60

@cinar

Description

@cinar

Add a new example in examples/sql/ demonstrating how to use Resile with the standard library database/sql package. The example should show how to wrap db.QueryContext or db.ExecContext with a Resile policy including retries and a circuit breaker.

Requirements:

  • Use resile.Do or resile.DoErr.
  • Include a mock database or a simple SQLite setup.
  • Add a README.md in the example folder.

This is a good first issue for anyone looking to contribute to Resile!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions