beego orm
GORM
Our great sponsors
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.
beego orm
We haven't tracked posts mentioning beego orm yet.
Tracking mentions began in Dec 2020.
GORM
-
Tools besides Go for a newbie
IDE: use whatever make you productive. I personally use vscode. VCS: git, as golang communities use github heavily as base for many libraries. AFAIK Linter: use staticcheck for linting as it looks like mostly used linting tool in go, supported by many also. In Vscode it will be recommended once you install go plugin. Libraries/Framework: actually the standard libraries already included many things you need, decent enough for your day-to-day development cycles(e.g. `net/http`). But here are things for extra: - Struct fields validator: validator - Http server lib: chi router , httprouter , fasthttp (for non standard http implementations, but fast) - Web Framework: echo , gin , fiber , beego , etc - Http client lib: most already covered by stdlib(net/http), so you rarely need extra lib for this, but if you really need some are: resty - CLI: cobra - Config: godotenv , viper - DB Drivers: sqlx , postgre , sqlite , mysql - nosql: redis , mongodb , elasticsearch - ORM: gorm , entgo , sqlc(codegen) - JS Transpiler: gopherjs - GUI: fyne - grpc: grpc - logging: zerolog - test: testify , gomock , dockertest - and many others you can find here
-
Why use Rust on the backend?
I don't use ORM but I were I would use https://gorm.io/ which has no equivalent in Rust in terms of features and maturity.
-
Looking to build a small team for a start-up idea
The back-end is going to be written in Golang, using a [Gin](https://github.com/gin-gonic/gin), [Gorm](https://gorm.io/), and a [Postgres](https://www.postgresql.org/) DB, so bonus points if you are familiar with Go!
- Go doesn’t do any magical stuff and I love that
- How do you handle nil/null values correctly
-
ORM or no ORM (and which ones)?
Hello, I want to communicate with a database in my go API. My API is for a website that allows you to track finances and budgets, so the reason I need a database is to store the user's expenses and allow them to search and find each one and which one is costing them the most. I also am going to implement login soon, but I don't think that matters for now. I'm now stuck on how to communicate with my database (Postgres). Should I go with an ORM like gorm, database/sql package, sqlx, or any others? Advice is appreciated
-
Web Development JWT Practices
For more information on Gorm's operation of MySQL, please refer to Gorm
- High Performance Web Framework Tasting-Database Operations
-
Build REST API with Go Fiber and PlanetScale - Part 1
To access PlanetScale, we can use ORM from Go called Gorm, and since the PlanetScale database is built on top Vitess (MySQL), install the MySQL driver as well.
What are some alternatives?
ent - An entity framework for Go
Xorm
SQLBoiler - Generate a Go ORM tailored to your database schema.
go-pg - Golang ORM with focus on PostgreSQL features and performance
pgx - PostgreSQL driver and toolkit for Go
gorp - Go Relational Persistence - an ORM-ish library for Go
sqlc - Generate type-safe code from SQL
bun - Incredibly fast JavaScript runtime, bundler, transpiler and package manager – all in one.
xorm - xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本,为xorm提供类似ibatis的配置文件及动态SQL支持,支持AcitveRecord操作
upper.io/db - Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
prisma-client-go - Prisma Client Go is an auto-generated and fully type-safe database client
bun - SQL-first Golang ORM