Tagged articles
49 articles
Page 1 of 1
Ray's Galactic Tech
Ray's Galactic Tech
Apr 1, 2026 · Backend Development

Error Handling in Go Gin: Unified Responses for High Concurrency

This article presents a comprehensive, production‑grade error‑handling framework for Go services using Gin, covering error classification, unified response contracts, middleware ordering, stack trace management, high‑concurrency performance considerations, and practical code examples that integrate logging, tracing, retry, and circuit‑breaker strategies to improve observability and system stability.

Error HandlingGinGo
0 likes · 33 min read
Error Handling in Go Gin: Unified Responses for High Concurrency
Ray's Galactic Tech
Ray's Galactic Tech
Mar 30, 2026 · Backend Development

Build a Production-Ready Go Microservice with Gin: Architecture & Scaling

This comprehensive guide walks through designing, implementing, and operating a production-grade Go microservice using Gin, covering architecture layers, domain modeling, reliable messaging, observability, CI/CD pipelines, GitOps deployment, high‑concurrency safeguards, security measures, and best‑practice testing to ensure stability, scalability, and maintainability in real‑world e‑commerce scenarios.

GinGoMicroservices
0 likes · 58 min read
Build a Production-Ready Go Microservice with Gin: Architecture & Scaling
Go Development Architecture Practice
Go Development Architecture Practice
Mar 27, 2026 · Backend Development

Exploring Gin 1.12: BSON Support, Enhanced Context, Flexible Binding, and Protobuf Negotiation

The article walks through Gin 1.12's new features—including native BSON handling for MongoDB, type‑safe context error methods, custom binding for dates and enums, raw‑path routing, colored latency logs, and automatic Protobuf/JSON negotiation—showing practical code examples and upgrade recommendations for microservice development.

BSONGinGo
0 likes · 10 min read
Exploring Gin 1.12: BSON Support, Enhanced Context, Flexible Binding, and Protobuf Negotiation
Code Wrench
Code Wrench
Mar 15, 2026 · Backend Development

Mastering Go Microservices with Gin: From Routing to CI/CD Automation

This tutorial walks Go developers through building a production‑grade microservice with Gin, covering high‑performance routing, middleware, multi‑format rendering, unit and integration testing, and a complete Semaphore CI/CD pipeline for automated delivery.

BackendGinci/cd
0 likes · 6 min read
Mastering Go Microservices with Gin: From Routing to CI/CD Automation
JD Retail Technology
JD Retail Technology
Dec 11, 2025 · Artificial Intelligence

How GIN-Based Cohort Modeling Boosts Cold-Start CTR Prediction by 2%

This article explains a SIGIR 2025 paper that tackles cold‑start click‑through‑rate prediction in JD's ad system by using a Graph Isomorphism Network‑based cohort modeling framework, detailing its three‑module architecture, extensive experiments on public and industrial datasets, and a live deployment that achieved a 2.13% CTR lift.

CTR predictionGinGraph Neural Network
0 likes · 9 min read
How GIN-Based Cohort Modeling Boosts Cold-Start CTR Prediction by 2%
Code Wrench
Code Wrench
Aug 2, 2025 · Backend Development

Build a Lego‑Style Go Microservice Gateway with Consul, Gin, and Go‑Kit

This guide walks you through building a Go microservice gateway using Consul for service discovery, Gin for routing, and Go‑Kit middleware, covering project structure, configuration loading, middleware composition, dynamic routing, common pitfalls, startup commands, and extensible features.

ConsulGinGo-Kit
0 likes · 6 min read
Build a Lego‑Style Go Microservice Gateway with Consul, Gin, and Go‑Kit
Code Wrench
Code Wrench
Jul 13, 2025 · Backend Development

Boost Go Web Performance with Asynchronous Logging via Channels and Middleware

This article explains how to build a high‑performance asynchronous logging system for Go web services using channels and middleware, covering both gRPC and Gin implementations, a log‑processing engine, performance‑tuning tips, and measured latency and CPU improvements.

ChannelsGinasynchronous logging
0 likes · 7 min read
Boost Go Web Performance with Asynchronous Logging via Channels and Middleware
Architecture & Thinking
Architecture & Thinking
Feb 28, 2025 · Backend Development

Mastering Gin: Build High‑Performance Go Web Services Step‑by‑Step

This guide introduces the lightweight Gin framework for Go, outlines its key features, shows how to install and set up the environment, and provides complete code examples for building a basic web service with routing, middleware, JSON handling, and controller organization, culminating in a functional API demonstration.

APIGinGo
0 likes · 10 min read
Mastering Gin: Build High‑Performance Go Web Services Step‑by‑Step
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
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 27, 2024 · Backend Development

Deep Dive into Gin Framework: Compressed Radix Tree Routing and Request Processing

This article thoroughly examines the Gin Go web framework, focusing on its compressed radix tree routing mechanism, middleware handling, request lifecycle, and performance‑optimizing techniques, providing code examples and best‑practice recommendations for building high‑throughput backend services.

Backend DevelopmentCompressed Radix TreeGin
0 likes · 13 min read
Deep Dive into Gin Framework: Compressed Radix Tree Routing and Request Processing
21CTO
21CTO
Aug 21, 2024 · Backend Development

Why Go (Golang) Is Dominating Backend Development: Top 5 Frameworks Compared

This article explains Go's origins, naming, core advantages, and why it excels in backend and infrastructure, then reviews five major Go web frameworks—Gin, Beego, Revel, and Buffalo—detailing their strengths, weaknesses, and sample code to help developers choose the right tool.

BeegoGinGolang
0 likes · 12 min read
Why Go (Golang) Is Dominating Backend Development: Top 5 Frameworks Compared
Ops Development Stories
Ops Development Stories
Aug 15, 2024 · Backend Development

How to Build a Flexible API Monitoring Exporter with Gin-Vue-Admin and Prometheus

This article walks through extending a simple Prometheus Exporter into a full-featured API monitoring solution using Gin-Vue-Admin, detailing backend task scheduling, database schema, multi-protocol checks (HTTP, TCP, DNS, ICMP), dynamic cron management, and frontend integration for managing and visualizing health metrics.

API monitoringBackendGin
0 likes · 18 min read
How to Build a Flexible API Monitoring Exporter with Gin-Vue-Admin and Prometheus
FunTester
FunTester
Jul 26, 2024 · Backend Development

Mastering Gin: A Hands‑On Guide to Building High‑Performance Go APIs

This tutorial introduces the Gin web framework for Go, covering its core features, installation steps, a simple "Hello World" example, request and response handling, parameter binding, route groups, middleware patterns, and useful utilities for building fast RESTful services.

GinGoRESTful API
0 likes · 13 min read
Mastering Gin: A Hands‑On Guide to Building High‑Performance Go APIs
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 19, 2024 · Backend Development

Building and Deploying a Go‑Gin Web Application with Docker: From Installation to Comparison with Koa

This tutorial walks through installing Go, using the Go‑Gin framework, creating a simple cron‑enabled web service, building Docker images with and without multi‑stage builds, pushing them to a registry, deploying on a server, and comparing the final image size with an equivalent Koa implementation.

Backend DevelopmentDockerGin
0 likes · 11 min read
Building and Deploying a Go‑Gin Web Application with Docker: From Installation to Comparison with Koa
Go Programming World
Go Programming World
May 30, 2024 · Backend Development

Standardizing RESTful API Error Handling with Business Error Codes and an Error Package in Go

This article explains how to design a unified business error‑code system for RESTful APIs, demonstrates the structure and format of such codes, provides a Go implementation with structs, interfaces and formatting methods, and shows practical usage in a Gin web server including logging and notification strategies.

BackendError CodesError Handling
0 likes · 22 min read
Standardizing RESTful API Error Handling with Business Error Codes and an Error Package in Go
Ops Development & AI Practice
Ops Development & AI Practice
May 27, 2024 · Backend Development

Decoupling Gin Handlers with Dependency Injection in Go

This article explains how to apply Dependency Injection in the Go Gin framework to separate routing logic from business services, reducing code coupling, improving testability, and enhancing reusability through concrete interface definitions, a simple DI container, and practical code examples.

BackendDesign PatternsGin
0 likes · 6 min read
Decoupling Gin Handlers with Dependency Injection in Go
MaGe Linux Operations
MaGe Linux Operations
Jan 23, 2024 · Backend Development

Mastering Form Handling and File Uploads with Gin in Go

This guide explains the four common HTTP form content types, demonstrates how to retrieve form data with Gin's PostForm methods, shows step‑by‑step examples for single and multiple file uploads, enforces size and type restrictions, and covers route groups and custom 404 handling in Go.

Backend DevelopmentForm HandlingGin
0 likes · 8 min read
Mastering Form Handling and File Uploads with Gin in Go
MaGe Linux Operations
MaGe Linux Operations
Dec 4, 2023 · Backend Development

Explore the Complete Gin-Based Backend Project Structure and Core Code

This guide walks through the automatically generated Gin framework project, detailing the directory layout—including API, model, service, config, database, migrations, public assets, routers, runtime, and utils—while providing sample commands and code snippets that illustrate how to initialize, define interfaces, and perform CRUD operations with GORM.

GORMGinProject Structure
0 likes · 6 min read
Explore the Complete Gin-Based Backend Project Structure and Core Code
21CTO
21CTO
Feb 20, 2023 · Backend Development

Top 5 Go REST API Frameworks: Choose the Best Backend Tool for Your Project

This article explains why Go is ideal for high‑performance web services, clarifies API and REST concepts, outlines criteria for selecting a Go API framework, and reviews the five most popular Go REST frameworks—Gin, Echo, Gorilla Mux, Buffalo, and Goji—along with their strengths, weaknesses, and tips for monitoring and monetizing APIs.

Backend FrameworkBuffaloEcho
0 likes · 13 min read
Top 5 Go REST API Frameworks: Choose the Best Backend Tool for Your Project
MaGe Linux Operations
MaGe Linux Operations
Sep 21, 2022 · Backend Development

Simplify Go Microservices to RESTful APIs with Ginrest and Generics

This article introduces Ginrest, a Go 1.18 generic‑based library that streamlines the conversion of gRPC or other microservice functions into RESTful endpoints by providing request/response wrappers, unified error handling, and context utilities, dramatically reducing repetitive boilerplate code.

GinGoRESTful
0 likes · 9 min read
Simplify Go Microservices to RESTful APIs with Ginrest and Generics
MaGe Linux Operations
MaGe Linux Operations
Jul 19, 2022 · Backend Development

Build a Go‑Based SMS Verification Login with Gin and Viper

This guide walks through creating a phone‑number SMS verification login system in Go using Gin, Viper, and Tencent Cloud SMS, covering service registration, configuration loading, client implementation with functional options, code generation, sending, and Redis‑based verification.

BackendGinSMS
0 likes · 8 min read
Build a Go‑Based SMS Verification Login with Gin and Viper
MaGe Linux Operations
MaGe Linux Operations
Mar 12, 2022 · Backend Development

Mastering RESTful API Design in Go: 12 Essential Best Practices

This article revisits RESTful API design using Go Web, covering twelve practical guidelines such as JSON usage, verb‑free and pluralized paths, hierarchical resources, pagination, unified response formats, proper HTTP status codes, versioning, HTTPS, and documentation to help developers build clear, consistent, and secure APIs.

BackendGinJSON
0 likes · 9 min read
Mastering RESTful API Design in Go: 12 Essential Best Practices
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
Feb 21, 2022 · Backend Development

Deep Dive into Go net/http and Gin Framework Source Code

This article provides a comprehensive analysis of Go's net/http library and the Gin framework, detailing request handling flow, router implementation, middleware chaining, and context management, while presenting key source code excerpts to illustrate how HTTP services are built and extended in Go.

GinGoHTTP
0 likes · 18 min read
Deep Dive into Go net/http and Gin Framework Source Code
MaGe Linux Operations
MaGe Linux Operations
Aug 6, 2021 · Backend Development

Mastering Go Middleware: From Basics to Advanced Patterns

This article explains what middleware is, why it’s used in Go projects, and demonstrates various implementations—including logging, authentication, method checks, and chaining—through clear code examples for both the standard net/http package and the Gin framework, helping developers enhance their backend services.

Code ExamplesGinHTTP
0 likes · 9 min read
Mastering Go Middleware: From Basics to Advanced Patterns
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.

CasbinGORMGin
0 likes · 13 min read
Mastering Casbin: Build Secure RBAC in Go with Gin and Gorm
Byte Quality Assurance Team
Byte Quality Assurance Team
Dec 3, 2020 · Backend Development

How GinDoc Turns Go Code into Swagger Docs and Test Models

The article explains the challenges of keeping interface model definitions synchronized between development and testing, compares code‑first and doc‑first approaches, introduces the Go‑based GinDoc library for generating Swagger documentation and client code from annotated routes, and provides step‑by‑step usage examples and integration tips.

API documentationCode GenerationDoc-first
0 likes · 8 min read
How GinDoc Turns Go Code into Swagger Docs and Test Models
Amap Tech
Amap Tech
Nov 26, 2020 · Backend Development

Practical Guide to Unit Testing and Mocking in Go Backend Services

This guide explains how to embed robust unit tests in Go backend services, outlines the AIR testing principles and common pitfalls, and demonstrates three practical mocking techniques—database stubs, interface‑based gomock, and runtime monkey‑patching—plus CI integration and coverage reporting.

CIGinGo
0 likes · 16 min read
Practical Guide to Unit Testing and Mocking in Go Backend Services
Beike Product & Technology
Beike Product & Technology
Aug 7, 2020 · Backend Development

Analysis of Gin Framework Routing Prefix‑Tree Implementation

This article provides a detailed examination of Gin's routing mechanism in Go, describing the internal prefix‑tree data structures, the algorithms for building and searching the tree, code walkthroughs of key functions such as addRoute and findWildcard, and case studies of typical and edge‑case route configurations.

GinGoPrefix Tree
0 likes · 21 min read
Analysis of Gin Framework Routing Prefix‑Tree Implementation
YooTech Youzu Tech Team
YooTech Youzu Tech Team
Sep 26, 2019 · Backend Development

Effortlessly Generate Beautiful Go API Docs with Swagger and Swag

This guide walks you through the challenges of manual API documentation, introduces Swagger as a powerful solution, and provides a step‑by‑step tutorial for integrating Swagger with Go projects using the Swag tool, Gin framework, and custom UI enhancements.

API documentationBackend DevelopmentGin
0 likes · 9 min read
Effortlessly Generate Beautiful Go API Docs with Swagger and Swag