Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev. Learn more →
Top 23 Go Database Driver Projects
-
MemoryDB documentation has an example for a Java application with the Lettuce client. The process is similar for other languages, but you still need to implement it. So, let's learn how to do it for a Go application with the widely used go-redis client.
-
We've always used https://github.com/jmoiron/sqlx which is just the standard package + mapping to/from structs.
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
-
go-sql-driver/mysql
Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package (by go-sql-driver)
IDE: use whatever make you productive. I personally use vscode. VCS: git, as golang communities use github heavily as base for many libraries. AFAIK Linter: use staticcheck for linting as it looks like mostly used linting tool in go, supported by many also. In Vscode it will be recommended once you install go plugin. Libraries/Framework: actually the standard libraries already included many things you need, decent enough for your day-to-day development cycles(e.g. `net/http`). But here are things for extra: - Struct fields validator: validator - Http server lib: chi router , httprouter , fasthttp (for non standard http implementations, but fast) - Web Framework: echo , gin , fiber , beego , etc - Http client lib: most already covered by stdlib(net/http), so you rarely need extra lib for this, but if you really need some are: resty - CLI: cobra - Config: godotenv , viper - DB Drivers: sqlx , postgre , sqlite , mysql - nosql: redis , mongodb , elasticsearch - ORM: gorm , entgo , sqlc(codegen) - JS Transpiler: gopherjs - GUI: fyne - grpc: grpc - logging: zerolog - test: testify , gomock , dockertest - and many others you can find here
-
-
I don't have the answer to that, but the project has been alive for many years. Seems maybe you should find the answer since you are developing a competing solution? Also it might be a good reference project for solving similar problems to yours. They do have bench tests you could play with https://github.com/blevesearch/bleve/blob/master/query_bench_test.go
-
For building the RESTful Point of Sale service API, I've considered and selected a combination of technologies that would work seamlessly together. For handling HTTP requests and responses, using the Gin HTTP web framework would make sense because I think it seems complete and popular among Go community too. To ensure data integrity and persistence, I'm using PostgreSQL database with pgx as the database driver, the reason I choose PostgreSQL because it is the most popular relational database to use in production and offers efficient Go integration. I'm also implementing caching using Redis with go-redis client library, which provides powerful in-memory data storage capabilities.
-
Onboard AI
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
-
Project mention: Authentication system using Golang and Sveltekit - Initialization and setup | dev.to | 2023-06-02
Following the completion of the series — Secure and performant full-stack authentication system using rust (actix-web) and sveltekit and Secure and performant full-stack authentication system using Python (Django) and SvelteKit — I felt I should keep the streak by building an equivalent system in PURE go with very minimal external dependencies. We won't use any fancy web framework apart from httprouter and other basic dependencies including a database driver (pq), and redis client. As usual, we'll be using SvelteKit at the front end, favouring JSDoc instead of TypeScript. The combination is ecstatic!
-
Learning how to integrate no-sql databases with applications is becoming a must-know skill for all developers out there. Golang in particular provides the MongoDB Go Driver for easier and efficient connection with the mongo database.
-
elastic
Deprecated: Use the official Elasticsearch client for Go at https://github.com/elastic/go-elasticsearch
i am trying to generate the following query using github.com/olivere/elastic/v7
-
Deprecated: Use the official Elasticsearch client for Go at https://github.com/elastic/go-elasticsearch
-
-
-
Project mention: Does sqlc/sqlx support MS-SQLServer? All examples for sqlc with postgres and mysql | /r/golang | 2023-02-23
-
-
-
qmgo
Qmgo - The Go driver for MongoDB. It‘s based on official mongo-go-driver but easier to use like Mgo.
-
-
-
mgm
Mongo Go Models (mgm) is a fast and simple MongoDB ODM for Go (based on official Mongo Go Driver) (by Kamva)
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Database Drivers related posts
- Using IAM authentication for Redis on AWS
- The Easiest Way to Create a REST API With Go
- How I Learned Generics in Go
- Unexpected behavior from Redis cluster client - Keys not being found even if they exist in the cluster
- Show HN: Sqinn-Go is a Golang library for accessing SQLite databases in pure Go
- Show HN: Sqinn-Go is a Golang library for accessing SQLite databases in pure Go
- Building RESTful API with Hexagonal Architecture in Go
-
A note from our sponsor - Onboard AI
getonboard.dev | 9 Dec 2023
Index
What are some of the best open-source Database Driver projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | Redis | 18,428 |
2 | sqlx | 14,686 |
3 | cayley | 14,679 |
4 | go-sql-driver/mysql | 13,867 |
5 | redigo | 9,644 |
6 | bleve | 9,362 |
7 | pgx | 8,628 |
8 | pq | 8,457 |
9 | mongo-go-driver | 7,729 |
10 | elastic | 7,251 |
11 | go-elasticsearch | 5,272 |
12 | clickhouse-go | 2,612 |
13 | gocql | 2,476 |
14 | go-mssqldb | 1,773 |
15 | gomemcache | 1,651 |
16 | gorethink | 1,643 |
17 | qmgo | 1,222 |
18 | elasticsql | 1,117 |
19 | elastigo | 950 |
20 | mgm | 703 |
21 | go-oci8 | 611 |
22 | redeo | 429 |
23 | aerospike-client-go | 414 |