Go Database Drivers

Open-source Go projects categorized as Database Drivers | Edit details

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: Setting redis values with an array? | reddit.com/r/golang | 2022-01-03

    What's the proper way to set and get a slice (array) of integer values in a redis client? Using the https://github.com/go-redis/redis package the `Set` takes in a interface as a value argument, but the `Get` function will only return back a string in the `Result()`

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • 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: Connecting to mysql returns Acces denied. Can only connect to the DB through dbeaver using a specific driver properties configuration. | reddit.com/r/golang | 2021-12-15

    I am using this driver https://github.com/go-sql-driver/mysql

  • GitHub repo sqlx

    general purpose extensions to golang's database/sql

    Project mention: Web dev learning path advice | reddit.com/r/golang | 2022-01-15

    Learn sqlx if you use mysql: https://github.com/jmoiron/sqlx

  • GitHub repo redigo

    Go client for Redis

    Project mention: Connect to Redis cluster using Anycable in rails app | reddit.com/r/rails | 2021-05-27
  • GitHub repo bleve

    A modern text indexing library for go

    Project mention: neovim lsp client stuck on CPU 100% / a very high CPU usage with big files · Issue #14037 · neovim/neovim | reddit.com/r/neovim | 2021-03-08


  • GitHub repo pq

    Pure Go Postgres driver for database/sql

    Project mention: What type of software do you write at your workplace? | reddit.com/r/golang | 2022-01-17

    We usually use chi for HTTP routing, gRPC for internal microservices (using gogoprotobuf for a more performant protobuf implementation), Sarama to talk to Kafka, sqlx and github.com/lib/pq to talk to Postgres, aws-sdk-go to talk to AWS services, internally developed libraries to integrate database/sql with AWS Athena and to read and write parquet files, zap for structured logging, stuff like that.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo elastic

    Elasticsearch client for Go.

    Project mention: Where can I find go-elasticsearch examples? | reddit.com/r/golang | 2021-12-08
  • GitHub repo mongo-go-driver

    The Go driver for MongoDB

    Project mention: How to Build REST API using Go Fiber and MongoDB Driver | dev.to | 2022-01-09

    For that same reason I decided to create a simple REST API using my favorite Go framework, Fiber and this time I decided to use the MongoDB Driver.

  • GitHub repo pgx

    PostgreSQL driver and toolkit for Go

    Project mention: Back to basics: Writing an application using Go and PostgreSQL with pgx | dev.to | 2022-01-19

    By reading this tutorial, you'll learn how to use PostgreSQL with the Go programming language using the pgx driver and toolkit in a very productive manner. Furthermore, with the provided source code, you'll be able to learn how to write efficient and sound unit and integration tests, ready to be run locally or on a Continuous Integration environment, such as GitHub Actions. Use the Table of Contents to skip to a specific part of this long post. Don't forget to check out the accompanying repository github.com/henvic/pgxtutorial.

  • GitHub repo go-elasticsearch

    The official Go client for Elasticsearch

    Project mention: How to add current time into a field in ES? | reddit.com/r/elasticsearch | 2021-08-18
  • 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

    Project mention: go-mssqldb package DateTime issue | reddit.com/r/golang | 2021-06-02

    I am using github.com/denisenkom/go-mssqldb package to get data from SQL Server. After querying the data, I am scanning each row and filling up a struct array. While doing so I noticed that the datetime fields in SQL Server which have 00:00:00.000 as the time value for a date time column, truncates the milliseconds (or ignores the milliseconds). Did anyone face this issue and how did you resolve it?

  • GitHub repo gomemcache

    Go Memcached client library #golang

    Project mention: Caching in Golang using Memcached | dev.to | 2021-08-27

    The library I will be using in this article as a Memcached client is gomemcache as it is quite simple to configure and use.

  • GitHub repo elastigo

    A Go (golang) based Elasticsearch client library.

  • GitHub repo elasticsql

    convert sql to elasticsearch DSL in golang(go)

  • 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 go-oci8

    Oracle driver for Go using database/sql

  • GitHub repo mgm

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

  • 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 2022-01-19.

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 cayley 14,048
2 Redis 13,333
3 go-sql-driver/mysql 11,820
4 sqlx 11,331
5 redigo 8,830
6 bleve 8,148
7 pq 7,019
8 elastic 6,495
9 mongo-go-driver 6,382
10 pgx 4,917
11 go-elasticsearch 3,866
12 gocql 2,189
13 gorethink 1,587
14 go-mssqldb 1,498
15 gomemcache 1,424
16 elastigo 946
17 elasticsql 845
18 qmgo 775
19 go-oci8 575
20 mgm 442
21 redeo 406
22 neoism 382
23 aerospike-client-go 373
Find remote jobs at our new job board 99remotejobs.com. There are 28 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
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.