Go Database Drivers

Open-source Go projects categorized as Database Drivers

Top 23 Go Database Driver Projects

  • GitHub repo cayley

    An open-source graph database

  • GitHub repo Redis

    Type-safe Redis client for Golang (by go-redis)

    Project mention: In your experience, what is the best and the worse Redis library available in Go? I need these two examples to write a blog post. Thanks. | reddit.com/r/golang | 2021-02-20

    After experimenting with Redigo, I'm now trying https://github.com/go-redis/redis, which is equally popular, but better documented.

  • GitHub repo go-sql-driver/mysql

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

    Project mention: Web Development in Go: Middleware, Templating, Databases & Beyond | dev.to | 2021-01-27

    For example, here's how to use the MySQL driver package with database/sql:

  • GitHub repo sqlx

    general purpose extensions to golang's database/sql

    Project mention: Go Tool: (exploring) sqlc (Part 1) | dev.to | 2021-02-15

    This time it was related to speeding up our development (and testing!) workflow when using PostgreSQL as a persistent datastore. For context, we have been successfully using database/sql and jmoiron/sqlx, and both can get the work done but I'm always trying to find better tools to improve what we have. I've been doing this investigation for a few months already, and I did find some packages and tools, but because of the amount of options I haven't really had time to try them all. In the end what I'm looking for is tools/packages that:

  • GitHub repo redigo

    Go client for Redis (by gomodule)

    Project mention: Go gRPC Clean architecture microservice with Prometheus, Grafana monitoring and Jaeger opentracing ⚡️ | dev.to | 2020-12-27

    Setup postgres and redis Usually production SQL db standard solution for these days is combination of sqlx and pgx. Good Redis Go clients is go-redis and redigo, i used first.

  • GitHub repo bleve

    A modern text indexing library for go

    Project mention: ClickHouse as an alternative to Elasticsearch for log storage and analysis | news.ycombinator.com | 2021-03-02
  • GitHub repo pq

    Pure Go Postgres driver for database/sql

    Project mention: Using pgx and squirrel with PostgreSQL | reddit.com/r/golang | 2021-02-26
  • GitHub repo elastic

    Elasticsearch client for Go.

    Project mention: What's a Library Client what you really like about their API approach? | reddit.com/r/golang | 2021-02-03

    https://github.com/olivere/elastic is definitely the best choice. Though, it added around 4 MB additional to the build size.

  • GitHub repo riot

    Go Open Source, Distributed, Simple and efficient Search Engine (by go-ego)

  • GitHub repo mongo-go-driver

    The Go driver for MongoDB

    Project mention: Go, Kafka, gRPC and MongoDB microservice with metrics and tracing 👋 | dev.to | 2021-02-28

    This article about tries to implement of clean architecture microservice using: 🚀 Kafka as messages broker gRPC Go implementation of gRPC MongoDB as database Jaeger open source, end-to-end distributed tracing Prometheus monitoring and alerting Grafana for to compose observability dashboards with everything from Prometheus

  • GitHub repo pgx

    PostgreSQL driver and toolkit for Go

    Project mention: Go Tool: (exploring) sqlc (Part 1) | dev.to | 2021-02-15

    jackc/pgx PostgreSQL driver and toolkit for Go

  • GitHub repo go-elasticsearch

    The official Go client for Elasticsearch

  • GitHub repo gocql

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

    Project mention: Web Development in Go: Middleware, Templating, Databases & Beyond | dev.to | 2021-01-27

    https://github.com/gocql/gocql (Cassandra driver).

  • GitHub repo gorethink

    Go language driver for RethinkDB

  • GitHub repo go-mssqldb

    Microsoft SQL server driver written in go language

  • GitHub repo gomemcache

    Go Memcached client library #golang

  • GitHub repo elastigo

    A Go (golang) based Elasticsearch client library.

  • GitHub repo elasticsql

    convert sql to elasticsearch DSL in golang(go)

  • GitHub repo go-oci8

    Oracle driver for Go using database/sql

  • GitHub repo qmgo

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

  • GitHub repo redeo

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

  • GitHub repo neoism

    Neo4j client for Golang

  • GitHub repo aerospike-client-go

    Aerospike Client Go

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 2021-03-02.

Index

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

Project Stars
1 cayley 13,767
2 Redis 10,874
3 go-sql-driver/mysql 10,557
4 sqlx 9,805
5 redigo 8,218
6 bleve 7,427
7 pq 6,406
8 elastic 5,726
9 riot 5,638
10 mongo-go-driver 5,469
11 pgx 3,802
12 go-elasticsearch 3,142
13 gocql 2,034
14 gorethink 1,554
15 go-mssqldb 1,354
16 gomemcache 1,320
17 elastigo 946
18 elasticsql 681
19 go-oci8 531
20 qmgo 427
21 redeo 392
22 neoism 374
23 aerospike-client-go 354