Go Relational Databases

Open-source Go projects categorized as Relational Databases

Top 13 Go Relational Database Projects

  • sqlx

    general purpose extensions to golang's database/sql

  • Project mention: Python: Just Write SQL | news.ycombinator.com | 2023-08-14

    We've always used https://github.com/jmoiron/sqlx which is just the standard package + mapping to/from structs.

  • go-sql-driver/mysql

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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • pgx

    PostgreSQL driver and toolkit for Go

  • Project mention: Setting up a Database Driver, Repository and Implementation of a transaction function for your Go App | dev.to | 2024-04-22

    Sometimes, backend developers tend to opt for an ORM library because it provides an abstraction between your app and the database and thus there is little or no need to write raw queries and migrations which is nice. However, if you want to get better at writing queries (SQL for example), you need to learn how to build your repositories without an ORM. To open a database handle, you can either do it directly from the database driver or do it from database/sql with the driver passed into it. I will be opening the connection with database/sql together with pgx which is a driver and toolkit for PostgreSQL. Walk with me.

  • pq

    Pure Go Postgres driver for database/sql

  • 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!

  • go-mssqldb

    Microsoft SQL server driver written in go language

  • go-oci8

    Oracle driver for Go using database/sql

  • Sqinn-Go

    Golang SQLite without cgo

  • Project mention: Show HN: My Go SQLite driver did poorly on a benchmark, so I fixed it | news.ycombinator.com | 2023-12-14

    Note that Squinn is not "native go" or "go only", but the owner insists on misleading people:

    https://github.com/cvilsmeier/sqinn-go/issues/8

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • firebirdsql

    Firebird RDBMS sql driver for Go (golang)

  • go-adodb

    Microsoft ActiveX Object DataBase driver for go that using exp/sql

  • gofreetds

    Go Sql Server database driver.

  • vertica-sql-go

    Official native Go client for the Vertica Analytics Database.

  • bgc

    Datastore Connectivity for BigQuery in go (by viant)

  • pig

    Simple pgx wrapper to execute and scan query results

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).

Go Relational Databases related posts

Index

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

Project Stars
1 sqlx 15,365
2 go-sql-driver/mysql 14,178
3 pgx 9,414
4 pq 8,740
5 go-mssqldb 1,792
6 go-oci8 626
7 Sqinn-Go 397
8 firebirdsql 219
9 go-adodb 136
10 gofreetds 110
11 vertica-sql-go 60
12 bgc 21
13 pig 16

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com