📚

GoのORMの人気ランキングを年ごとにまとめてみた

2023/07/15に公開

概要

GoのO/R Mapperについてまとめてみました。
GoのO/R Mapperを選定する際に、gormは有名だけど他にないかな〜と思ったため興味本位で探してみました。

取得方法

取得方法として、GitHub-APIを使用しました。
理由として年単位でスターの上がり幅を比較し、流行りすたりを可視化したかったためです。
※取得対象はスターの数が1,000個以上リポジトリのみとなります。

実際のリポジトリは以下になります。

年間隔スター数上限グラフ

リポジトリごとの情報

No. Project Name Stars Subscribers Forks Open Issues Description Createdate Last Update
1 go-gorm/gorm 35597 491 3836 339 The fantastic ORM library for Golang, aims to be developer friendly 2013-10-25 08:31:38 2024-05-14 14:55:58
2 beego/beego 30948 1191 5577 11 beego is an open-source, high-performance web framework for the Go programming language. 2012-02-29 02:32:08 2024-05-14 14:56:57
3 jmoiron/sqlx 15472 198 1066 349 general purpose extensions to golang's database/sql 2013-01-28 19:40:00 2024-05-14 13:21:51
4 ent/ent 14982 154 886 473 An entity framework for Go 2019-06-12 22:53:55 2024-05-14 14:26:28
5 sqlc-dev/sqlc 11177 71 715 332 Generate type-safe code from SQL 2019-06-21 21:11:35 2024-05-14 15:14:44
6 go-xorm/xorm 6655 265 758 307 Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,mssql,oracle, Moved to https://gitea.com/xorm/xorm 2013-05-09 02:35:04 2024-05-14 08:58:01
7 volatiletech/sqlboiler 6470 76 531 92 Generate a Go ORM tailored to your database schema. 2016-02-21 06:18:25 2024-05-14 12:31:20
8 go-pg/pg 5593 87 399 116 Golang ORM with focus on PostgreSQL features and performance 2013-04-24 12:31:41 2024-05-14 14:13:12
9 go-gorp/gorp 3718 106 372 146 Go Relational Persistence - an ORM-ish library for Go 2012-01-04 19:50:09 2024-05-14 08:11:44
10 xo/xo 3573 70 310 42 Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server 2016-02-05 10:22:20 2024-05-14 05:54:27
11 upper/db 3482 59 233 159 Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features. 2013-10-23 02:04:36 2024-05-14 15:30:06
12 uptrace/bun 3173 22 189 153 SQL-first Golang ORM 2021-05-03 11:40:52 2024-05-14 08:14:52
13 xxjwxc/gormt 2318 24 349 56 database to golang struct 2019-05-05 13:10:26 2024-05-14 09:37:17
14 go-jet/jet 2084 22 106 33 Type safe SQL builder with code generation and automatic query result data mapping 2019-03-02 11:06:23 2024-05-13 21:11:38
15 steebchen/prisma-client-go 1959 26 93 106 Prisma Client Go is an auto-generated and fully type-safe database client 2019-09-24 12:17:03 2024-05-13 19:58:37
16 go-reform/reform 1442 25 73 86 A better ORM for Go, based on non-empty interfaces and code generation. 2016-02-25 09:41:09 2024-04-19 23:20:53
17 gobuffalo/pop 1410 22 242 96 A Tasty Treat For All Your Database Needs 2018-02-07 21:13:46 2024-05-13 14:42:37
18 huandu/go-sqlbuilder 1205 12 107 3 A flexible and powerful SQL string builder library plus a zero-config ORM. 2017-12-27 16:37:48 2024-05-13 09:48:01

各リポジトリごとの年別スター数

go-gorm/gorm

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
8195 12612 17484 22981 27343 31944 35597

beego/beego

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
13836 18802 22535 25258 27373 29317 30948

jmoiron/sqlx

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
4040 5929 7920 9855 11628 13502 15472

ent/ent

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
- - 2449 6873 10376 13258 14982

sqlc-dev/sqlc

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
- - 1724 2967 5269 7958 11177

go-xorm/xorm

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
2910 4479 5698 6160 6396 6563 6655

volatiletech/sqlboiler

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
1075 1955 2821 3793 4792 5683 6470

go-pg/pg

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
1537 2492 3527 4430 4934 5316 5593

go-gorp/gorp

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
2613 2900 3244 3420 3522 3631 3717

xo/xo

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
1491 1957 2337 2690 3053 3324 3573

upper/db

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
1125 1670 2066 2476 2966 3290 3482

uptrace/bun

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
- - - 4 857 2014 3173

xxjwxc/gormt

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
- - 463 1134 1801 2147 2316

go-jet/jet

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
- - 247 383 684 1234 2084

steebchen/prisma-client-go

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
- - 67 652 1153 1427 1959

go-reform/reform

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
595 723 818 1098 1231 1396 1442

gobuffalo/pop

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
114 590 844 1038 1185 1314 1410

huandu/go-sqlbuilder

2021-05-15 2021-11-15 2022-05-15 2022-11-15 2023-05-15 2023-11-15 2024-05-15
34 191 367 551 751 978 1205

Discussion