Tag

Gin

1 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Jun 12, 2025 · Backend Development

Build a High‑Performance RESTful API with Go’s Gin Framework – Step‑by‑Step Guide

This tutorial walks you through setting up a Go environment, initializing a project, and using the high‑performance Gin framework to create a complete RESTful API with CRUD operations, middleware for logging and authentication, error handling, project structure optimization, and deployment best practices.

Backend DevelopmentCRUDGin
0 likes · 9 min read
Build a High‑Performance RESTful API with Go’s Gin Framework – Step‑by‑Step Guide
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.

APIGinWeb Development
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.

BeegoBuffaloEcho
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.

CRUDGinMyBatis-Plus
0 likes · 16 min read
Comparative Tutorial: Building CRUD Applications with Gin (Go) and Spring Boot (Java)
Go Programming World
Go Programming World
Nov 19, 2024 · Backend Development

Understanding and Implementing CORS (Cross‑Origin Resource Sharing) in Go

This article explains the browser same‑origin policy, defines cross‑origin requests, details the CORS mechanism—including simple and non‑simple requests and their required HTTP headers—and provides practical Go examples using Gin middleware and Kubernetes to solve CORS issues.

CORSCross-OriginGin
0 likes · 27 min read
Understanding and Implementing CORS (Cross‑Origin Resource Sharing) in Go
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
Architecture Development Notes
Architecture Development Notes
Aug 17, 2024 · Backend Development

Choosing the Right Go Web Framework: Gin, Echo, Beego, Revel, Buffalo Compared

This article compares five popular Go web frameworks—Gin, Echo, Beego, Revel, and Buffalo—detailing their strengths, weaknesses, and code examples to help developers select the most suitable tool for their project requirements and performance goals.

BeegoEchoGin
0 likes · 10 min read
Choosing the Right Go Web Framework: Gin, Echo, Beego, Revel, Buffalo Compared
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 DevelopmentContainerizationDocker
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.

Error CodesError HandlingGin
0 likes · 22 min read
Standardizing RESTful API Error Handling with Business Error Codes and an Error Package in Go
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.

GinHTTPcontext
0 likes · 18 min read
Deep Dive into Go net/http and Gin Framework Source Code
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.

GinGomockbackend
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.

GinPrefix TreeWeb Framework
0 likes · 21 min read
Analysis of Gin Framework Routing Prefix‑Tree Implementation