Go sql-driver

Open-source Go projects categorized as sql-driver

Top 3 Go sql-driver Projects

  • go-sqlmock

    Sql mock driver for golang to test database interactions

    Project mention: Creating an API using Go and sqlc | dev.to | 2022-10-24

    For that, I used the lib go-sqlmock. So, for example, the following snippet is part of the person/service_test.go file:

  • sqlhooks

    Attach hooks to any database/sql driver

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • go-txdb

    Immutable transaction isolated sql driver for golang

    Project mention: Unit Testing a Grom Application With a Real DB Server | reddit.com/r/golang | 2022-07-27

    The first one is TestMain, which could improve the lifecycle management of the container. The second one is DATA-DOG/go-txdb, this allows you to open a new db connection running in a transaction, so each test could have its own isolated DB connection.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-10-24.

Go sql-driver related posts


What are some of the best open-source sql-driver projects in Go? This list will help you:

Project Stars
1 go-sqlmock 5,098
2 sqlhooks 603
3 go-txdb 520
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives