Go Relational Databases

Open-source Go projects categorized as Relational Databases | Edit details

Top 13 Go Relational Database Projects

  • 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: Which SQL driver to use with Postgres | reddit.com/r/golang | 2021-11-27

    I'm following Alex Edwards web dev book, he uses MySQL with go-sql-driver/mysql , i want to use Postgres, which one should I use?

  • GitHub repo sqlx

    general purpose extensions to golang's database/sql

    Project mention: Twelve Years of Go | news.ycombinator.com | 2021-11-10

    There are ORMs available for Golang, but my experience has been better with packages like sqlx [1] or dat [2]. We've since been using SQLX for pretty much all DBMS related work, and regret nothing. In my experience SQLX gave us the right balance between abstraction and control.

    [1] http://jmoiron.github.io/sqlx/

    [2] https://github.com/mgutz/dat

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo pq

    Pure Go Postgres driver for database/sql

    Project mention: Which SQL driver to use with Postgres | reddit.com/r/golang | 2021-11-27
  • GitHub repo pgx

    PostgreSQL driver and toolkit for Go

    Project mention: Which SQL driver to use with Postgres | reddit.com/r/golang | 2021-11-27
  • 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 go-oci8

    Oracle driver for Go using database/sql

  • GitHub repo firebirdsql

    Firebird RDBMS sql driver for Go (golang)

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo go-adodb

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

  • GitHub repo gofreetds

    Go Sql Server database driver.

  • GitHub repo Sqinn-Go

    SQLite with pure Go

  • GitHub repo vertica-sql-go

    Official native Go client for the Vertica Analytics Database.

  • GitHub repo bgc

    Datastore Connectivity for BigQuery in go (by viant)

  • GitHub repo 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). The latest post mention was on 2021-11-27.

Go Relational Databases related posts


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

Project Stars
1 go-sql-driver/mysql 11,674
2 sqlx 11,099
3 pq 6,899
4 pgx 4,752
5 go-mssqldb 1,473
6 go-oci8 573
7 firebirdsql 159
8 go-adodb 122
9 gofreetds 105
10 Sqinn-Go 83
11 vertica-sql-go 47
12 bgc 15
13 pig 4
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives