Go Programming World
Author

Go Programming World

Mobile version of tech blog https://jianghushinian.cn/, covering Golang, Docker, Kubernetes and beyond.

69
Articles
0
Likes
476
Views
0
Comments
Recent Articles

Latest from Go Programming World

69 recent articles
Go Programming World
Go Programming World
Sep 5, 2025 · Backend Development

How to Test Concurrent Go Code with the New testing/synctest Package

Go’s built‑in concurrency primitives make parallel programming easy, but testing such code is tricky; this article explains the experimental testing/synctest package introduced in Go 1.24/1.25, shows how to rewrite flaky, slow tests into fast, reliable ones, and demonstrates its use with real‑world examples.

Goconcurrencygoroutine
0 likes · 15 min read
How to Test Concurrent Go Code with the New testing/synctest Package
Go Programming World
Go Programming World
Aug 12, 2025 · Backend Development

Master dyno: Simplify Go JSON/YAML Handling with Dynamic Maps

This article explains how the Go dyno package lets you effortlessly read, modify, and serialize deeply‑nested JSON/YAML structures by providing Get, Set, Delete, Append and conversion utilities that work with map[string]interface{}, map[interface{}]interface{} and []interface{} without using reflection.

Code ExampleGoJSON
0 likes · 23 min read
Master dyno: Simplify Go JSON/YAML Handling with Dynamic Maps
Go Programming World
Go Programming World
Aug 4, 2025 · Backend Development

Why Go’s yaml.v3 Fails to Convert YAML with Duplicate Keys to JSON (and How to Fix It)

This article explains why converting a YAML document containing both numeric and string keys (e.g., 1 and "1") to JSON fails in Go using yaml.v3, demonstrates the resulting errors, and shows how to resolve the issue with dyno.ConvertMapI2MapS or alternative libraries, while also comparing behavior in Python and JavaScript.

GoJSONdata conversion
0 likes · 17 min read
Why Go’s yaml.v3 Fails to Convert YAML with Duplicate Keys to JSON (and How to Fix It)
Go Programming World
Go Programming World
Jul 28, 2025 · Fundamentals

What Is the Purpose of Go’s doc.go File and How to Use It Effectively?

This article explains the role of the doc.go file in Go projects for centralized package documentation, demonstrates its structure with real examples, shows how to generate docs using godoc and go doc, and explores advanced uses like canonical import paths and code generation annotations.

GoPackage documentationcanonical import
0 likes · 14 min read
What Is the Purpose of Go’s doc.go File and How to Use It Effectively?
Go Programming World
Go Programming World
Jul 23, 2025 · Artificial Intelligence

Directing Code with AI: How Vibe Coding Turns Natural Language into Software

Vibe Coding, introduced by Andrej Karpathy in 2025, lets developers describe software goals in natural language while large language models generate the code, reshaping the developer’s role, outlining the workflow, discussing tools, risks, and future prospects of this AI‑driven programming paradigm.

AI-driven developmentLLMVibe Coding
0 likes · 6 min read
Directing Code with AI: How Vibe Coding Turns Natural Language into Software
Go Programming World
Go Programming World
Jul 20, 2025 · Fundamentals

Unlocking Go 1.23 Iterators: Deep Dive into Push & Pull Mechanisms

This comprehensive guide explores Go 1.23's iterator system, detailing the underlying principles of push and pull iterators, code transformations performed by the compiler, coroutine implementation, and practical examples that compare Go's approach with Python and JavaScript, helping developers master iterator usage and design.

GoPull IteratorPush Iterator
0 likes · 29 min read
Unlocking Go 1.23 Iterators: Deep Dive into Push & Pull Mechanisms
Go Programming World
Go Programming World
Jul 17, 2025 · Fundamentals

Mastering Go 1.23 Iterators: From Basics to Advanced Usage

This article explores the newly introduced iterator feature in Go 1.23, explaining what iterators are, why they were added, how to implement them manually, how to use the new iter package, and how the slices and maps packages provide iterator‑friendly utilities for Go developers.

Go__iter__generics
0 likes · 34 min read
Mastering Go 1.23 Iterators: From Basics to Advanced Usage