|30 days ago||3 months ago|
|BSD 2-clause "Simplified" License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Go for Backend development
4 projects | reddit.com/r/golang | 6 Sep 2021
Connecting with database
1 project | dev.to | 24 Jun 2021
For database communication we will use go-pg module. You can install it by running go get github.com/go-pg/pg/v10. This will install version 10 of go-pg module, which is latest version at the time of writing this guide. Now create new directory internal/database/ and file database.go inside of it.
How much do you agree completely switching from Java to Go? I have total 9yrs of experience in Java but now I am interested in Go.
3 projects | reddit.com/r/golang | 18 Apr 2021
gorm.io/gorm`, or `github.com/go-pg/pg` if you need something more feature-rich. I would avoid using `go-kit` and `go-micro` "frameworks" unless you have some special requirement for it. But you can take a look to have an idea of what Go "framework" may look like.
A Proposal for Adding Generics to Go
1 project | news.ycombinator.com | 12 Jan 2021
This one is mostly excellent: https://github.com/go-pg/pg
We haven't tracked posts mentioning godb yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
GORM - The fantastic ORM library for Golang, aims to be developer friendly
SQLBoiler - Generate a Go ORM tailored to your database schema.
ent - An entity framework for Go
sqlx - general purpose extensions to golang's database/sql
gorp - Go Relational Persistence - an ORM-ish library for Go
upper.io/db - Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
scan - Scan database/sql rows directly to structs, slices, and primitive types
crunchy-proxy - PostgreSQL Connection Proxy by Crunchy Data (beta)
xorm - xorm是一个简单而强大的Go语言ORM库，通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本，为xorm提供类似ibatis的配置文件及动态SQL支持，支持AcitveRecord操作
go-queryset - 100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood.