概要
GoのO/R Mapperについてまとめてみました。
GoのO/R Mapperを選定する際に、gormは有名だけど他にないかな〜と思ったため興味本位で探してみました。
取得方法
取得方法として、GitHub-APIを使用しました。
理由として年単位でスターの上がり幅を比較し、流行りすたりを可視化したかったためです。
※取得対象はスターの数が1,000個以上リポジトリのみとなります。
実際のリポジトリは以下になります。
https://github.com/RyotaroSeto/star-golang-orms
年間隔スター数上限グラフ
リポジトリごとの情報
No. |
Project Name |
Stars |
Subscribers |
Forks |
Open Issues |
Description |
Createdate |
Last Update |
1 |
go-gorm/gorm |
33750 |
498 |
3736 |
285 |
The fantastic ORM library for Golang, aims to be developer friendly |
2013-10-25 08:31:38 |
2023-10-03 11:56:04 |
2 |
beego/beego |
30247 |
1202 |
5656 |
16 |
beego is an open-source, high-performance web framework for the Go programming language. |
2012-02-29 02:32:08 |
2023-10-03 07:50:44 |
3 |
ent/ent |
14143 |
152 |
875 |
362 |
An entity framework for Go |
2019-06-12 22:53:55 |
2023-10-03 05:04:40 |
4 |
sqlc-dev/sqlc |
9155 |
70 |
620 |
232 |
Generate type-safe code from SQL |
2019-06-21 21:11:35 |
2023-10-03 12:25:20 |
5 |
go-xorm/xorm |
6638 |
266 |
771 |
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 |
2023-10-02 09:17:54 |
6 |
volatiletech/sqlboiler |
6037 |
74 |
550 |
90 |
Generate a Go ORM tailored to your database schema. |
2016-02-21 06:18:25 |
2023-10-03 07:35:01 |
7 |
go-pg/pg |
5476 |
90 |
403 |
115 |
Golang ORM with focus on PostgreSQL features and performance |
2013-04-24 12:31:41 |
2023-09-30 19:22:15 |
8 |
go-gorp/gorp |
3685 |
106 |
398 |
147 |
Go Relational Persistence - an ORM-ish library for Go |
2012-01-04 19:50:09 |
2023-09-30 03:39:37 |
9 |
xo/xo |
3458 |
71 |
310 |
43 |
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 |
2023-10-01 08:30:48 |
10 |
upper/db |
3382 |
60 |
238 |
153 |
Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features. |
2013-10-23 02:04:36 |
2023-10-01 14:39:05 |
11 |
uptrace/bun |
2495 |
26 |
170 |
123 |
SQL-first Golang ORM |
2021-05-03 11:40:52 |
2023-10-03 06:59:54 |
12 |
xxjwxc/gormt |
2252 |
23 |
357 |
57 |
database to golang struct |
2019-05-05 13:10:26 |
2023-10-02 17:19:17 |
13 |
steebchen/prisma-client-go |
1657 |
24 |
86 |
102 |
Prisma Client Go is an auto-generated and fully type-safe database client |
2019-09-24 12:17:03 |
2023-10-03 11:48:56 |
14 |
go-jet/jet |
1565 |
21 |
92 |
30 |
Type safe SQL builder with code generation and automatic query result data mapping |
2019-03-02 11:06:23 |
2023-10-02 10:44:13 |
15 |
go-reform/reform |
1423 |
25 |
73 |
86 |
A better ORM for Go, based on non-empty interfaces and code generation. |
2016-02-25 09:41:09 |
2023-09-25 03:46:41 |
16 |
gobuffalo/pop |
1378 |
22 |
246 |
99 |
A Tasty Treat For All Your Database Needs |
2018-02-07 21:13:46 |
2023-09-30 19:21:48 |
17 |
huandu/go-sqlbuilder |
1097 |
12 |
99 |
7 |
A flexible and powerful SQL string builder library plus a zero-config ORM. |
2017-12-27 16:37:48 |
2023-09-25 15:50:37 |
各リポジトリごとの年別スター数
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
6163 |
9931 |
14577 |
20197 |
24697 |
29449 |
33747 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
11220 |
15759 |
20690 |
23893 |
26262 |
28488 |
30246 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
3102 |
4744 |
6746 |
8728 |
10596 |
12466 |
14329 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
- |
- |
168 |
4962 |
8389 |
11499 |
14143 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
- |
- |
86 |
2261 |
3862 |
6312 |
9155 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
2139 |
3558 |
5103 |
5967 |
6275 |
6492 |
6638 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
719 |
1450 |
2238 |
3271 |
4175 |
5146 |
6037 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
1066 |
1900 |
2968 |
3907 |
4698 |
5153 |
5476 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
2413 |
2729 |
3009 |
3338 |
3472 |
3565 |
3684 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
1203 |
1655 |
2130 |
2478 |
2858 |
3213 |
3458 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
926 |
1258 |
1862 |
2249 |
2690 |
3146 |
3382 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
- |
- |
- |
- |
287 |
1454 |
2495 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
- |
- |
126 |
733 |
1408 |
1974 |
2252 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
- |
- |
5 |
192 |
894 |
1277 |
1657 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
- |
- |
138 |
298 |
474 |
782 |
1565 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
505 |
643 |
773 |
982 |
1160 |
1319 |
1423 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
- |
413 |
679 |
939 |
1105 |
1232 |
1378 |
2020-10-03 |
2021-04-03 |
2021-10-03 |
2022-04-03 |
2022-10-03 |
2023-04-03 |
2023-10-03 |
- |
62 |
245 |
418 |
624 |
836 |
1097 |
Discussion