Awesome Go

Database Drivers

69 libraries in this category

redis

Redis client for Golang

22,291Database DriversNoSQL Database Drivers
go-sql-driver/mysql

MySQL driver for Go

15,297Database DriversRelational Database Drivers
cayley

Graph database with support for multiple backends

15,068Database DriversInterfaces to Multiple Backends
pgx

PostgreSQL driver supporting features beyond those exposed by database/sql

14,487Database DriversRelational Database Drivers
pq

Pure Go Postgres driver for database/sql

9,978Database DriversRelational Database Drivers
redigo

Redigo is a Go client for the Redis database

9,845Database DriversNoSQL Database Drivers
go-sqlite3

SQLite3 driver for go that uses database/sql

9,283Database DriversRelational Database Drivers
mongo-go-driver

Official MongoDB driver for the Go language

8,549Database DriversNoSQL Database Drivers
elastic

Elasticsearch client for Go

7,435Database DriversSearch and Analytic Databases
riot

Simple and fast text and vector index engine

6,072Database DriversSearch and Analytic Databases
go-elasticsearch

Official Elasticsearch client for Go

6,068Database DriversSearch and Analytic Databases
clickhouse-go

ClickHouse SQL client for Go with a `database/sql` compatibility

3,359Database DriversSearch and Analytic Databases
rueidis

Fast Redis RESP3 client with auto pipelining and server-assisted client side caching

2,994Database DriversNoSQL Database Drivers
zoekt

Fast trigram based code search

2,100Database DriversSearch and Analytic Databases
mgo

(unmaintained) MongoDB driver for the Go language that implements a rich and well tested selection of features under a very simple API following standard Go idioms

1,957Database DriversNoSQL Database Drivers
gomemcache

memcache client library for the Go programming language

1,886Database DriversNoSQL Database Drivers
go-mssqldb

Microsoft MSSQL driver for Go

1,880Database DriversRelational Database Drivers
gorethink

Go language driver for RethinkDB

1,645Database DriversNoSQL Database Drivers
qmgo

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

1,354Database DriversNoSQL Database Drivers
elasticsql

Convert sql to elasticsearch dsl in Go

1,187Database DriversSearch and Analytic Databases
go-sqlite3

This Go module is compatible with the database/sql driver. It allows embedding SQLite into your application, provides direct access to its C API, supports SQLite VFS, and also includes a GORM driver

1,149Database DriversRelational Database Drivers
elastigo

Elasticsearch client library

938Database DriversSearch and Analytic Databases
gokv

Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more)

829Database DriversInterfaces to Multiple Backends
skizze

A probabilistic data structure service and storage

773Database DriversSearch and Analytic Databases
mgm

MongoDB model-based ODM for Go (based on official MongoDB driver)

763Database DriversNoSQL Database Drivers
sqlhooks

Attach hooks to any database/sql driver

664Database DriversRelational Database Drivers
go-oci8

Oracle driver for go that uses database/sql

633Database DriversRelational Database Drivers
godror

Oracle driver for Go, using the ODPI-C driver

600Database DriversRelational Database Drivers
Sqinn-Go

SQLite with pure Go

549Database DriversRelational Database Drivers
aerospike-client-go

Aerospike client in Go language

459Database DriversNoSQL Database Drivers
redeo

Redis-protocol compatible TCP servers/services

444Database DriversNoSQL Database Drivers
go-transaction-manager

Transaction manager with multiple adapters (sql, sqlx, gorm, mongo, ...) controls transaction boundaries

426Database DriversInterfaces to Multiple Backends
go-mssqldb

Microsoft's official Go driver for SQL Server, Azure SQL, Azure Synapse, SQL database in Fabric, and Fabric Data Warehouse. Supports Azure AD, Always Encrypted, bulk operations

418Database DriversRelational Database Drivers
neoism

Neo4j client for Golang

387Database DriversNoSQL Database Drivers
gocb

Official Couchbase Go SDK

376Database DriversNoSQL Database Drivers
KSQL

A Simple and Powerful Golang SQL Library

360Database DriversRelational Database Drivers
Kivik

Kivik provides a common Go and GopherJS client library for CouchDB, PouchDB, and similar databases

346Database DriversNoSQL Database Drivers
go-rejson

Golang client for redislabs' ReJSON module using Redigo golang client. Store and manipulate structs as JSON objects in redis with ease

339Database DriversNoSQL Database Drivers
go-couchbase

Couchbase client in Go

321Database DriversNoSQL Database Drivers
surrealdb.go

SurrealDB Driver for Go

319Database DriversRelational Database Drivers
firebirdsql

Firebird RDBMS SQL driver for Go

269Database DriversRelational Database Drivers
go-mongox

A Go Mongo library based on the official driver, featuring streamlined document operations, generic binding of structs to collections, built-in CRUD, aggregation, automated field updates, struct validation, hooks, and plugin-based programming

222Database DriversNoSQL Database Drivers
go-rqlite

A Go client for rqlite, providing easy-to-use abstractions for working with the rqlite API

188Database DriversRelational Database Drivers
ydb-go-sdk

native and database/sql driver YDB (Yandex Database)

184Database DriversRelational Database Drivers
go-adodb

Microsoft ActiveX Object DataBase driver for go that uses database/sql

154Database DriversRelational Database Drivers
avatica

Apache Avatica/Phoenix SQL driver for database/sql

126Database DriversRelational Database Drivers
gofreetds

Microsoft MSSQL driver. Go wrapper over [FreeTDS](https://www.freetds.org)

114Database DriversRelational Database Drivers
godis

redis client implement by golang, inspired by jedis

111Database DriversNoSQL Database Drivers
Neo4j-GO

Neo4j REST Client in golang.

78Database DriversLibraries for building and using SQL.
arangolite

Lightweight golang driver for ArangoDB

72Database DriversNoSQL Database Drivers
go-pilosa

Go client library for Pilosa

58Database DriversNoSQL Database Drivers
dsc

Datastore connectivity for SQL, NoSQL, structured files

38Database DriversInterfaces to Multiple Backends
forestdb

Go bindings for ForestDB

36Database DriversNoSQL Database Drivers
effdsl

Elasticsearch query builder for Go

35Database DriversSearch and Analytic Databases
goriak

Go language driver for Riak KV

30Database DriversNoSQL Database Drivers
goes

Library to interact with Elasticsearch

30Database DriversSearch and Analytic Databases
neo4j

Neo4j Rest API Bindings for Golang

29Database DriversNoSQL Database Drivers
dalgo

Database abstraction layer with one API for records, queries and transactions across SQL and NoSQL backends, including Firestore, SQLite, filesystem and in-memory adapters

26Database DriversInterfaces to Multiple Backends
dynamo

A simple key-value abstraction to store algebraic and linked-data data types at AWS storage services: AWS DynamoDB and AWS S3

24Database DriversInterfaces to Multiple Backends
gomemcached

A binary Memcached client for Go with support for sharding using consistent hashing, along with SASL

23Database DriversNoSQL Database Drivers
gocosmos

REST client and standard `database/sql` driver for Azure Cosmos DB

22Database DriversNoSQL Database Drivers
bgc

Datastore Connectivity for BigQuery for go

21Database DriversRelational Database Drivers
xredis

Typesafe, customizable, clean & easy to use Redis client

19Database DriversNoSQL Database Drivers
pig

Simple [pgx](https://github.com/jackc/pgx) wrapper to execute and [scan](https://github.com/georgysavva/scany) query results easily

17Database DriversRelational Database Drivers
godscache

A wrapper for the Google Cloud Platform Go Datastore package that adds caching using memcached

12Database DriversNoSQL Database Drivers
asc

Datastore Connectivity for Aerospike for go

11Database DriversNoSQL Database Drivers
transactor

Type-safe transaction boundary abstraction with adapters for database/sql, sqlx, and pgx

7Database DriversInterfaces to Multiple Backends
zedsearch

Faster lightweight hybrid search engine with Elasticsearch-compatible ingestion APIs and an embedded web UI

4Database DriversSearch and Analytic Databases
skizze

probabilistic data-structures service and storage

Database DriversSearch and Analytic Databases