Tagged articles
go-mod
13 articles · Page 1 of 1
This article breaks down the five Go interview questions interviewers love, explains the underlying concepts such as goroutine and channel mechanics, empty‑interface pitfalls, map concurrency, defer execution, and Go modules, provides high‑scoring code examples, and offers concrete preparation tips to showcase engineering thinking and practical skills.
ConcurrencyGoInterview
0 likes · 9 min read


TonyBaiMay 13, 2026 · Backend Development
The single line `go 1.xx` in a go.mod file is far more than a version hint—it controls language features, module‑graph pruning, test‑all scope, default GODEBUG values, automatic toolchain switching, vendor module metadata, and go‑mod‑tidy behavior, making it a critical contract between your code and the Go toolchain.
Backend DevelopmentGODEBUGGo
0 likes · 15 min read


21CTOMay 12, 2026 · Backend Development
The article argues that Go’s fast compilation, single‑binary output, minimal dependencies, rich standard library, lightweight concurrency model, and built‑in tooling make it a straightforward, production‑ready choice for backend services, contrasting it with the complexity of typical Node, Rails, or JavaScript stacks.
Backend DevelopmentConcurrencyGo
0 likes · 12 min read

This article explains Go's built‑in, custom, and third‑party packages, introduces the go mod tool with init and other commands, shows how to create and import custom packages (including aliasing and anonymous imports), describes the init() function execution order, and covers using third‑party modules and essential Go commands such as build, install, get, doc, test, list and fix.
GoGo commandsgo-mod
0 likes · 10 min read

The newly created Go Command Working Group is proposing to retire long‑standing commands like "go list ..." and the GO111MODULE=auto setting, and to simplify go.mod version numbers, marking a quiet but far‑reaching overhaul of the Go toolchain.
GO111MODULEGoGo modules
0 likes · 11 min read


TonyBaiFeb 22, 2026 · Backend Development
After upgrading to Go 1.26, developers encounter a compile error because go mod init now defaults to the previous major version, sparking a heated debate between the Go core team’s compatibility rationale and the community’s frustration over broken developer experience, with proposed work‑arounds and philosophical reflections on language design.
Community DebateToolchaingo-mod
0 likes · 12 min read

When using go mod tidy or go get, checksum mismatches in go.sum can occur, indicating possible tampering or download issues, and this guide explains the go.sum file structure, its role, and step‑by‑step solutions such as clearing the module cache, manually editing the file, and adjusting GOSUMDB.
GOSUMDBchecksumgo-mod
0 likes · 6 min read

This guide explains practical strategies and step‑by‑step commands for managing Go module dependencies so they remain compatible with the project's existing Go version, covering version setting, incremental updates, proxy usage, testing, and inspection of dependency details.
BackendDependency ManagementGo
0 likes · 7 min read

The article explains how Go's backward‑compatible design makes compiling a project with a newer Go version than the one declared in go.mod generally safe, while outlining the role of the go.mod version, potential pitfalls, and best‑practice recommendations for version management.
Backend DevelopmentGogo-mod
0 likes · 5 min read

This article explains Go Modules' major version suffix rules, how the Go tool resolves package paths to module paths using GOPROXY, and the structure and advanced features of the go.mod file, including deprecated warnings and programmatic manipulation.
Backend DevelopmentDependency ManagementGo
0 likes · 12 min read

The article traces Go’s shift from GOPATH to Go Modules—detailing their history, migration steps, practical commands, and best‑practice tips such as using replace directives, managing go.mod and go.sum, and emphasizing why teams should adopt modules now for reliable dependency handling, security, and developer efficiency.
Backend DevelopmentDependency ManagementGOPATH
0 likes · 15 min read

This article explains why changing dubbo-go's module path to dubbo.apache.org/dubbo-go/v3 caused CI failures, analyzes the version mismatch introduced by go‑mod replace, and provides a step‑by‑step fix that aligns major versions and clarifies Go's semantic import versioning, pseudo‑versions, and module nesting.
Backend DevelopmentCIGo
0 likes · 13 min read

This article explains how to use Go modules for reliable dependency management, covering historical tools, semantic versioning, vendoring, module creation, testing, upgrading and tidying dependencies, and best practices for committing go.mod and go.sum files.
Dependency ManagementVersioninggo test
0 likes · 12 min read
