Golang Shines
Author

Golang Shines

We share daily the latest Golang technical articles, practical resources, language news, tutorials, and real-world projects to help everyone learn and improve.

96
Articles
0
Likes
61
Views
0
Comments
Recent Articles

Latest from Golang Shines

96 recent articles
Golang Shines
Golang Shines
Jun 5, 2026 · Backend Development

Using Go’s unique Package for Efficient String Interning

The article explains string interning as a memory‑saving technique, shows how to implement it manually in Go, compares the go4.org/intern library with the standard‑library unique package, and presents benchmark results that reveal memory savings but a modest speed trade‑off.

ConcurrencyPerformancebenchmark
0 likes · 15 min read
Using Go’s unique Package for Efficient String Interning
Golang Shines
Golang Shines
Jun 4, 2026 · Backend Development

Don’t Treat .pb.go Files Like Your Own Child: A Go Protobuf Pitfall Guide

Using protobuf‑generated .pb.go structs directly in Go business code introduces zero‑value ambiguities, naming mismatches, and loss of encapsulation, leading to bugs and technical debt; the article explains these pitfalls with concrete examples and shows how to keep protobuf at the transport layer while mapping to clean domain models.

Backend DevelopmentBest PracticesData Serialization
0 likes · 11 min read
Don’t Treat .pb.go Files Like Your Own Child: A Go Protobuf Pitfall Guide
Golang Shines
Golang Shines
Jun 3, 2026 · Industry Insights

Is Doubao Going Paid? Pricing, Timeline, and Industry Implications

Doubao will launch a three‑tier subscription in late June, keeping a free tier while charging 68 CNY/month for the standard plan, 200 CNY/year for the enhanced plan, and 500 CNY/year for the professional plan, a move that signals a broader shift in China's AI‑model market toward monetization and value capture.

AI chatbotChinese AI marketDoubao
0 likes · 5 min read
Is Doubao Going Paid? Pricing, Timeline, and Industry Implications
Golang Shines
Golang Shines
May 31, 2026 · Backend Development

Essential Guide to Gin: A Powerful Go Web Framework

Gin is a high‑performance, lightweight Go web framework that offers fast routing, flexible middleware, route groups, error handling, and built‑in support for JSON, XML and HTML, with simple installation and clear code examples demonstrating a basic server, grouped routes, custom middleware, and parameter handling.

Example CodeMiddlewaregin
0 likes · 9 min read
Essential Guide to Gin: A Powerful Go Web Framework
Golang Shines
Golang Shines
May 28, 2026 · Backend Development

From a Log Key Mistake to Safer Go slog: Lessons and Practical Tricks

After a production incident caused by a wrong log field name, the author explores Go's standard slog library, reveals its classic ...any trap, and presents four concrete techniques—dependency‑injected logger, type‑safe LogAttrs, centralized field helpers, and sloglint enforcement—to build a reliable, maintainable logging system.

Loggingdependency injectiongo
0 likes · 11 min read
From a Log Key Mistake to Safer Go slog: Lessons and Practical Tricks
Golang Shines
Golang Shines
May 25, 2026 · Backend Development

Why Go Is the Go-To Language for High-Concurrency Backend Services

The article explains why backend engineers are switching from PHP to Go for high‑concurrency workloads, demonstrates how Go’s goroutine model reduces request latency compared with serial PHP calls, provides concrete WaitGroup and errgroup implementations, and warns about closure capture pitfalls in loops.

BackendConcurrencyerrgroup
0 likes · 10 min read
Why Go Is the Go-To Language for High-Concurrency Backend Services
Golang Shines
Golang Shines
May 24, 2026 · Backend Development

In‑Depth Comparison and Practical Guide to Go Web Frameworks: Beego, Gin, Echo, and Iris

This article compares four popular Go web frameworks—Beego, Gin, Echo, and Iris—detailing their design inspirations, core features, routing and middleware mechanisms, module systems, and deployment practices, while providing step‑by‑step examples to help developers choose the best fit for their projects.

Backend DevelopmentWeb Frameworksbeego
0 likes · 8 min read
In‑Depth Comparison and Practical Guide to Go Web Frameworks: Beego, Gin, Echo, and Iris
Golang Shines
Golang Shines
May 22, 2026 · Industry Insights

Meta Cuts 7,800 Jobs and Moves 7,000 Employees to AI Projects – What It Means

Meta announced a new round of layoffs affecting roughly 7,800 staff (about 10% of its workforce) and plans to reassign 7,000 workers to AI‑focused projects, while cancelling 6,000 open positions and flattening its management structure, sparking widespread employee anxiety and morale decline.

AI transformationMetaemployee morale
0 likes · 6 min read
Meta Cuts 7,800 Jobs and Moves 7,000 Employees to AI Projects – What It Means