golang_api
GORM
Our great sponsors
golang_api | GORM | |
---|---|---|
1 | 74 | |
0 | 35,416 | |
- | 1.5% | |
0.0 | 8.4 | |
about 3 years ago | 4 days ago | |
Go | Go | |
- | 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.
golang_api
-
I created a simple but feature-rich RESTful API!
I was already familiar with express.js and typescript but I decided to move to a statically typed and more efficient language. I came across go which I though was extremely readable and fast. You can find the project's repository here: https://github.com/pioyi/golang_api
GORM
-
Go ORMs Compared
GORM is a comprehensive ORM tool in Go, offering a code-first approach which allows defining database schemas using struct tags in Go. It's known for its developer-friendly nature, making it suitable for both beginners and experienced users. GORM supports a variety of SQL databases like MySQL, PostgreSQL, and SQLite. It's designed to be flexible, allowing developers to drop down to raw SQL when necessary. However, it's important to be cautious about its performance implications in large-scale applications.
-
6 🔥 Awesome Golang packages (web devs)
Homepage: https://gorm.io/
- Tenha controle sobre seu SQL com Golang e SQLC
- Não use funções puras com Go
-
Build an Event-Driven Uptime Monitor in Go 🚀
Since most of these APIs will be simple CRUD (Create/Read/Update/Delete) endpoints, let's build this service using GORM, an ORM library that makes building CRUD endpoints really simple.
- [OpenSource] I am building high performance Plex alternative in Go for Movies and TV Show
-
Building Robust Applications in Go: Integrating Envconfig, Gorm, and OpenSearch
After successfully configuring the application, it's time to delve into integrating the data layer. For this purpose, I will utilize gorm, a powerful SQL ORM that facilitates rapid development of the data layer using model structs.
-
ORM or no ORM that is the question
For basic INSERT ... VALUES ... or SELECT ... WHERE ... JOIN ..., use a library such as GORM. For INSERT .... SELECT ... statements where one combines two round trips (SELECT and INSERT) into one, ORMs have a hard time performing this query. Particularly when you start doing joins. Joins are the heart of Relational database theory (they denote relationships). So get to know what an INNER, LEFT, RIGHT and OUTER join is and why you would use them. Also learn INSERT ... SELECT ...
-
Why ORMs are so hated?
I have never hated gorm and it serves me well. However I tend to feed it raw SQL very often.
-
Golang RESTAPI boilerplate repository
Array of values with embedded value all pointed to the last value, reflect code was broken: https://github.com/go-gorm/gorm/pull/5901 data corruption
What are some alternatives?
golang-gin-realworld-example-app - Exemplary real world application built with Golang + Gin
ent - An entity framework for Go
gin-vue-admin - 🚀Vite+Vue3+Gin的开发基础平台,支持TS和JS混用。它集成了JWT鉴权、权限管理、动态路由、显隐可控组件、分页封装、多点登录拦截、资源权限、上传下载、代码生成器、表单生成器和可配置的导入导出等开发必备功能。
Xorm
gorilla-controllers - Use controllers with the Gorilla Mux library
SQLBoiler - Generate a Go ORM tailored to your database schema.
go-queryset - 100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood.
go-pg - Golang ORM with focus on PostgreSQL features and performance
pgx - PostgreSQL driver and toolkit for Go
beego orm
sqlc - Generate type-safe code from SQL
gorp - Go Relational Persistence - an ORM-ish library for Go