Top 23 Go Database Driver Projects
-
cayley
An open-source graph database
-
Redis
Type-safe Redis client for Golang
Latest mention: Web Development in Go: Middleware, Templating, Databases & Beyond | dev.to | 2021-01-27https://github.com/go-redis/redis (Redis driver).
-
go-sql-driver/mysql
Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package
Latest mention: Web Development in Go: Middleware, Templating, Databases & Beyond | dev.to | 2021-01-27For example, here's how to use the MySQL driver package with database/sql:
-
sqlx
general purpose extensions to golang's database/sql
Latest mention: When to use Golang over Python for web app backend? | reddit.com/r/golang | 2021-01-24jmoiron/sqlx - Parsing SQL row data into structs
-
redigo
Go client for Redis
Latest mention: Go gRPC Clean architecture microservice with Prometheus, Grafana monitoring and Jaeger opentracing ⚡️ | dev.to | 2020-12-27Setup 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.
-
bleve
A modern text indexing library for go
Latest mention: Amazon: Not OK – why we had to change Elastic licensing | news.ycombinator.com | 2021-01-19 -
pq
Pure Go Postgres driver for database/sql
-
elastic
Elasticsearch client for Go.
Use https://github.com/olivere/elastic/
-
riot
Go Open Source, Distributed, Simple and efficient Search Engine
-
mongo-go-driver
The Go driver for MongoDB
Latest mention: Web Development in Go: Middleware, Templating, Databases & Beyond | dev.to | 2021-01-27https://github.com/mongodb/mongo-go-driver (MongoDB driver).
-
pgx
PostgreSQL driver and toolkit for Go
You're right about it. But all the drivers have different DSN. For example, we need to use a DSN like this: "host=localhost port=3000 user=testuser password=testpassword dbname=testdb" for the PostgreSQL driver. There's no standard about it. That's why For another driver, it would be different.
-
go-elasticsearch
The official Go client for Elasticsearch
-
gocql
Package gocql implements a fast and robust Cassandra client for the Go programming language.
Latest mention: Web Development in Go: Middleware, Templating, Databases & Beyond | dev.to | 2021-01-27https://github.com/gocql/gocql (Cassandra driver).
-
gorethink
Go language driver for RethinkDB
-
go-mssqldb
Microsoft SQL server driver written in go language
-
gomemcache
Go Memcached client library #golang
-
elastigo
A Go (golang) based Elasticsearch client library.
-
elasticsql
convert sql to elasticsearch DSL in golang(go)
-
go-oci8
Oracle driver for Go using database/sql
-
qmgo
Qmgo - The Go driver for MongoDB. It‘s based on official mongo-go-driver but easier to use like Mgo.
-
redeo
High-performance framework for building redis-protocol compatible TCP servers/services
-
neoism
Neo4j client for Golang
-
aerospike-client-go
Aerospike Client Go
Index
What are some of the best open-source Database Driver projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | cayley | 13,727 |
2 | Redis | 10,622 |
3 | go-sql-driver/mysql | 10,434 |
4 | sqlx | 9,614 |
5 | redigo | 8,136 |
6 | bleve | 7,330 |
7 | pq | 6,328 |
8 | elastic | 5,671 |
9 | riot | 5,589 |
10 | mongo-go-driver | 5,267 |
11 | pgx | 3,624 |
12 | go-elasticsearch | 3,075 |
13 | gocql | 2,012 |
14 | gorethink | 1,551 |
15 | go-mssqldb | 1,333 |
16 | gomemcache | 1,308 |
17 | elastigo | 946 |
18 | elasticsql | 661 |
19 | go-oci8 | 529 |
20 | qmgo | 391 |
21 | redeo | 389 |
22 | neoism | 373 |
23 | aerospike-client-go | 351 |