Tag

Gorm

1 views collected around this technical thread.

FunTester
FunTester
Dec 30, 2024 · Backend Development

Top Go Frameworks and Libraries in 2024: Gin, Beego, Echo, Buffalo, and GORM

This article reviews five leading Go frameworks and libraries—Gin, Beego, Echo, Buffalo, and GORM—detailing their core features, typical use cases, and reasons to choose each, helping developers select the most suitable tools for modern backend and full‑stack development in 2024.

BackendBeegoBuffalo
0 likes · 15 min read
Top Go Frameworks and Libraries in 2024: Gin, Beego, Echo, Buffalo, and GORM
Architecture Digest
Architecture Digest
Nov 20, 2024 · Backend Development

Comparative Tutorial: Building CRUD Applications with Gin (Go) and Spring Boot (Java)

This article walks through step‑by‑step how to create a simple CRUD service using Go's Gin framework with Gorm and MySQL, then shows the equivalent implementation with Java Spring Boot, MyBatis‑Plus and MySQL, comparing the two approaches and providing complete source code.

CRUDGinGo
0 likes · 16 min read
Comparative Tutorial: Building CRUD Applications with Gin (Go) and Spring Boot (Java)
37 Interactive Technology Team
37 Interactive Technology Team
Feb 10, 2023 · Backend Development

Analysis of Golang SQL Connection Pool Mechanism and Usage

The article examines Go’s database/sql connection pool implementation, showing how reusing connections cuts latency, explains idle/in‑use/closed state transitions, details configuration parameters such as MaxIdleConns and MaxOpenConns, demonstrates metric collection via Gorm DBStats for monitoring, and provides a stress‑test illustrating the impact of proper tuning.

Connection PoolGormPerformance
0 likes · 10 min read
Analysis of Golang SQL Connection Pool Mechanism and Usage
FunTester
FunTester
Mar 13, 2022 · Backend Development

Performance Testing of MySQL Using GORM and the FunTester Framework in Go

This article demonstrates how to use the Go-based FunTester framework to conduct performance tests—select, insert, update, and delete—on MySQL through GORM, providing code examples and explaining the setup of the testing harness.

BackendDatabaseGo
0 likes · 7 min read
Performance Testing of MySQL Using GORM and the FunTester Framework in Go
Sohu Tech Products
Sohu Tech Products
May 5, 2021 · Backend Development

Implementing Optimistic Locking in Go with GORM

This article explains how to implement optimistic locking in Go using GORM by adding a version field, writing raw SQL updates, creating a reusable wrapper function with retry logic, and leveraging interfaces and type assertions to handle concurrency safely.

ConcurrencyDatabaseGo
0 likes · 7 min read
Implementing Optimistic Locking in Go with GORM
Ops Development Stories
Ops Development Stories
Apr 2, 2021 · Information Security

Mastering Casbin: Build Secure RBAC in Go with Gin and Gorm

This article explains what Casbin is, how its PERM model works, and provides a step‑by‑step guide to integrate Casbin’s RBAC authorization into a Go project using Gin, Gorm, and a MySQL adapter, including model configuration, policy storage, middleware enforcement, and verification.

CasbinGinGo
0 likes · 13 min read
Mastering Casbin: Build Secure RBAC in Go with Gin and Gorm
360 Tech Engineering
360 Tech Engineering
Jun 1, 2020 · Backend Development

Building a Food Recommendation API with Domain‑Driven Design in Go

This tutorial walks through a complete Golang implementation of a food‑recommendation API using Domain‑Driven Design (DDD), covering the four DDD layers, entity and repository definitions, persistence setup with Gorm, application services, HTTP interfaces, middleware, and how to run the service.

APIBackendDDD
0 likes · 28 min read
Building a Food Recommendation API with Domain‑Driven Design in Go
360 Tech Engineering
360 Tech Engineering
Aug 2, 2019 · Backend Development

Idiomatic Query Building in Go: From GORM to a Custom Builder

The article explores the challenges of using GORM for layered query complexity in Go, compares it with sqlx, and proposes an idiomatic, extensible query‑builder design using functional options, complete with example implementations for SELECT, WHERE, and helper functions.

BackendGoGorm
0 likes · 11 min read
Idiomatic Query Building in Go: From GORM to a Custom Builder