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
Mar 9, 2026 · Backend Development

How to Use Generics in Go to Eliminate sync.Pool Boxing Overhead

This article explains why the pre‑generic sync.Pool suffers from boxing and type‑assertion costs, shows how to wrap it with a type‑safe generic Pool[T] implementation, demonstrates usage with a byte‑buffer example, and outlines the three main benefits and caveats of the approach.

GenericsPerformanceboxing
0 likes · 5 min read
How to Use Generics in Go to Eliminate sync.Pool Boxing Overhead
Golang Shines
Golang Shines
Mar 8, 2026 · Backend Development

240 Go Interview Questions with Answers – Master Them in 3 Passes to Land the Job

This article compiles a comprehensive set of 240 Go interview questions—including fundamentals, concurrency, runtime, and related topics such as containers, Redis, and MySQL—each paired with answers, offering candidates a structured study guide to repeatedly practice and improve their chances of securing a Go development position.

Backend DevelopmentConcurrencyDocker
0 likes · 15 min read
240 Go Interview Questions with Answers – Master Them in 3 Passes to Land the Job
Golang Shines
Golang Shines
Mar 7, 2026 · Databases

160 Must‑Know MySQL Interview Questions to Test Your Skills

This article compiles 160 high‑frequency MySQL interview questions, covering fundamentals such as SQL basics, MySQL vs. Oracle vs. Sql Service, the three normal forms, and MySQL permission tables, helping readers prepare thoroughly for database interview challenges.

Database ComparisonDatabase InterviewMySQL
0 likes · 4 min read
160 Must‑Know MySQL Interview Questions to Test Your Skills
Golang Shines
Golang Shines
Mar 5, 2026 · Backend Development

Build a User CRUD Service from Scratch with Go‑Kratos

This step‑by‑step guide shows how to use the Go‑Kratos microservice framework to create a clean‑architecture user service, covering environment setup, project scaffolding, Protobuf API definition, code generation, layered implementation (biz, data, service), server registration, and testing with curl.

CRUDClean ArchitectureHTTP
0 likes · 14 min read
Build a User CRUD Service from Scratch with Go‑Kratos
Golang Shines
Golang Shines
Mar 4, 2026 · Backend Development

Emulating Method Override in Go with Interfaces, Embedding, and Functional Options

The article shows how Go, which lacks inheritance and the @Override keyword, can achieve a clean override-like behavior by defining interfaces, using struct embedding to reuse functionality, and applying functional options for runtime customization, illustrated with a Dog‑Husky example.

Method Overridingcompositionfunctional options
0 likes · 7 min read
Emulating Method Override in Go with Interfaces, Embedding, and Functional Options
Golang Shines
Golang Shines
Mar 2, 2026 · Fundamentals

How to Use Conditional Compilation and Build Tags in Go

The article explains Go's conditional compilation mechanisms, covering file‑name suffixes, //go:build tags, practical cross‑platform examples, a zero‑overhead logging demo, and guidance on choosing the appropriate method for maintainable code.

Loggingbuild tagsconditional compilation
0 likes · 12 min read
How to Use Conditional Compilation and Build Tags in Go
Golang Shines
Golang Shines
Feb 27, 2026 · Backend Development

Boost Go Backend Performance with Redis Pipeline: A Practical Guide

Redis Pipeline batches commands to reduce network round‑trip overhead, offering up to ~50× speedup for bulk writes, improved stability under high concurrency, and lower latency for critical services; the guide explains its mechanics, Go implementation with go‑redis/v9, performance benchmarks, suitable scenarios, and pitfalls to avoid.

BackendPerformancePipeline
0 likes · 7 min read
Boost Go Backend Performance with Redis Pipeline: A Practical Guide
Golang Shines
Golang Shines
Feb 26, 2026 · Interview Experience

51 Must-Know Docker Interview Questions for Top Tech Companies

A comprehensive collection of 51 Docker interview questions covering core concepts, commands, configuration, networking, resource limits, security, and comparisons with related technologies, compiled for free sharing and interview preparation.

ContainersDockerInterview Questions
0 likes · 6 min read
51 Must-Know Docker Interview Questions for Top Tech Companies
Golang Shines
Golang Shines
Feb 26, 2026 · Fundamentals

Rust vs Go Memory Management: The Caretaker vs the Landlord

This article compares Rust and Go memory management by using a house‑rental analogy, detailing Go's garbage‑collector landlord model and Rust's compile‑time caretaker model, illustrating each with code snippets, pros and cons, real‑world performance anecdotes, and a practical scenario matrix.

Rustborrowinggarbage collection
0 likes · 7 min read
Rust vs Go Memory Management: The Caretaker vs the Landlord
Golang Shines
Golang Shines
Feb 25, 2026 · Big Data

Essential Kafka Core Concepts – A Comprehensive Cheat Sheet (PDF Included)

This article outlines Kafka's role as a leading MQ middleware, highlighting its key traits of decoupling, asynchronous processing, and throttling, compares it with traditional messaging systems, and provides a structured list of basic, intermediate, and advanced topics plus interview questions for in‑depth study.

Data IntegrationDistributed StreamingKafka
0 likes · 5 min read
Essential Kafka Core Concepts – A Comprehensive Cheat Sheet (PDF Included)