Go Database Drivers

Open-source Go projects categorized as Database Drivers

Top 23 Go Database Driver Projects

  • Redis

    Type-safe Redis client for Golang

    Project mention: Should I reuse the connection on Redis or close it after every use? | reddit.com/r/golang | 2022-12-21

    Asynq uses https://github.com/go-redis/redis in order to connect to Redis. Whenever you create a client using go-redis, the client internally manages a connection pool, so when you need to execute a command in Redis the client just retrieves a connection from the pool and uses it. After using it, the connection is released and it goes back to the pool (no need to say that the Redis client is thread-safe).

  • cayley

    An open-source graph database

    Project mention: Go just hit 100k stars on GitHub | reddit.com/r/golang | 2022-06-07

    Even that can't be generalized. I bet that neo4j is way, way more popular than cayley, yet, cayley has more stars.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • sqlx

    general purpose extensions to golang's database/sql

    Project mention: how to use go-sqlmock with sqlx postgres? | reddit.com/r/golang | 2023-01-22

    What i believe you are missing is to provide the expectation to your mock. Checkout this thread https://github.com/jmoiron/sqlx/issues/204. It has a section for prepareNamed query. You need to tell sqlmock what is the expected query for your specific driver and what you expect returned.

  • go-sql-driver/mysql

    Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package (by go-sql-driver)

    Project mention: Make Deno MySQL driver works better | dev.to | 2022-12-01

    Authentication method mismatch is not allowed to occur more than once. It is not a part of MySQL protocol. go-sql-driver also has the same rule.

  • redigo

    Go client for Redis

    Project mention: Are these benchmarks deterministic? | reddit.com/r/golang | 2022-05-29

    You should know that name is already taken: https://github.com/gomodule/redigo

  • bleve

    A modern text indexing library for go

    Project mention: Any Full Text Search library for json data? | reddit.com/r/golang | 2023-01-01
  • pq

    Pure Go Postgres driver for database/sql

    Project mention: Ask HN: Slimvoice Alternative? | news.ycombinator.com | 2022-12-31
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • mongo-go-driver

    The Official Golang driver for MongoDB

    Project mention: Go EventSourcing and CQRS with PostgreSQL, Kafka, MongoDB and ElasticSearch 👋✨💫 | dev.to | 2022-07-18

    PostgeSQL as event store database Kafka as messages broker gRPC Go implementation of gRPC Jaeger open source, end-to-end distributed tracing Prometheus monitoring and alerting Grafana for to compose observability dashboards with everything from Prometheus MongoDB MongoDB database Elasticsearch Elasticsearch client for Go. Echo web framework Kibana Kibana is data visualization dashboard software for Elasticsearch Migrate for migrations

  • elastic

    Deprecated: Use the official Elasticsearch client for Go at https://github.com/elastic/go-elasticsearch

    Project mention: I’m a recent graduate and this is what is asked of me in my current (first) job. Please help me. | reddit.com/r/golang | 2022-08-22

    I think that https://olivere.github.io/elastic/ is a lot better as an API client

  • pgx

    PostgreSQL driver and toolkit for Go

    Project mention: CRUD: Repo Layer Best Practices? | reddit.com/r/golang | 2023-01-04

    found this: https://github.com/jackc/pgx/issues/411

  • go-elasticsearch

    The official Go client for Elasticsearch

    Project mention: An alternative to Elasticsearch that runs on a few MBs of RAM | news.ycombinator.com | 2022-10-24
  • gocql

    Package gocql implements a fast and robust Cassandra client for the Go programming language.

  • go-mssqldb

    Microsoft SQL server driver written in go language

    Project mention: Getting EOF when connecting to a database using sqlx | reddit.com/r/golang | 2022-10-13

    Where does the sql server one come from and what is it? I tried https://github.com/denisenkom/go-mssqldb and maybe im jsut tired from staring at this stuff half the day but i couldnt get it to work

  • gorethink

    Go language driver for RethinkDB

  • gomemcache

    Go Memcached client library #golang

    Project mention: Memcached protocol | reddit.com/r/golang | 2022-07-08
  • qmgo

    Qmgo - The Go driver for MongoDB. It‘s based on official mongo-go-driver but easier to use like Mgo.

  • elasticsql

    convert sql to elasticsearch DSL in golang(go)

  • elastigo

    A Go (golang) based Elasticsearch client library.

  • mgm

    Mongo Go Models (mgm) is a fast and simple MongoDB ODM for Go (based on official Mongo Go Driver) (by Kamva)

  • go-oci8

    Oracle driver for Go using database/sql

    Project mention: Golang Training | dev.to | 2022-02-28
  • redeo

    High-performance framework for building redis-protocol compatible TCP servers/services

  • aerospike-client-go

    Aerospike Client Go

  • neoism

    Neo4j client for Golang

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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 2023-01-22.

Go Database Drivers related posts


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

Project Stars
1 Redis 16,314
2 cayley 14,452
3 sqlx 13,195
4 go-sql-driver/mysql 13,021
5 redigo 9,412
6 bleve 8,853
7 pq 7,855
8 mongo-go-driver 7,186
9 elastic 7,095
10 pgx 6,610
11 go-elasticsearch 4,712
12 gocql 2,375
13 go-mssqldb 1,695
14 gorethink 1,621
15 gomemcache 1,572
16 qmgo 1,049
17 elasticsql 1,013
18 elastigo 949
19 mgm 621
20 go-oci8 599
21 redeo 419
22 aerospike-client-go 403
23 neoism 388
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives