Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trace/sql: Wrap and return standard library sql.DB #178

Merged
merged 1 commit into from Mar 13, 2020
Merged

trace/sql: Wrap and return standard library sql.DB #178

merged 1 commit into from Mar 13, 2020

Commits on Mar 13, 2020

  1. trace/sql: Wrap and return standard library sql.DB

    This change adds two functions to package trace/sql. One that wraps the
    standard library sql.DB, which provides support for libraries like
    sqlmock and another that provides access to the wrapped sql.DB which is
    useful for SQL code that does not require tracing.
    
    Signed-off-by: Stratos Neiros <s.neiros@thebeat.co>
    nstratos committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    7c27b37 View commit details
    Browse the repository at this point in the history