Tagged articles
Go modules
19 articles · Page 1 of 1

TonyBaiSep 29, 2026 · Backend Development
This article analyzes a Hacker News debate on coupling Go import paths to GitHub, explaining how import paths serve as both module identity and fetch location, why global search-and-replace and go.mod replace directives fail to fix historical tags and downstream dependencies, and how custom vanity domains provide a low-cost option for future migration flexibility and supply-chain control.
Dependency ManagementGitHubGo
0 likes · 21 min read

The article details a CI lint failure caused by a corrupted Go module from a GOPROXY mirror, revealing that comma-separated GOPROXY fallbacks only retry on 404/410 errors, while pipe-separated fallbacks retry on any error—a behavior confirmed by Go source code analysis.
CI debuggingGOPROXYGo modules
0 likes · 14 min read

The article explains how Go's vanity URLs work, detailing the three core meta‑tag protocols (?go-get=1, go-import, go-source), the step‑by‑step actions of the go get command with -x logging, and how these mechanisms enable both the Go CLI and pkg.go.dev to locate and document source code.
GoGo modulesgo get
0 likes · 19 min read


TonyBaiJul 6, 2026 · Backend Development
This guide shows how to install the gvu CLI, add a Go module vanity import path using the default gomod.io domain or a custom domain, configure GOPRIVATE, use the path in go.mod, handle monorepo subdirectories, manage routes, and understand account quotas, all without writing Nginx or YAML configurations.
CLI toolGo modulesgolang
0 likes · 8 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

This article explains the official Go module layout guidelines, showing how to structure basic packages, executable programs, complex projects, multiple commands, and server applications, while providing code examples, installation commands, and references to further resources for Go developers.
GoGo modulesModule Organization
0 likes · 10 min read

This comprehensive guide walks Go developers through the evolution of package management, explains how to initialize and configure Go modules, demonstrates practical dependency handling, and shares best practices and advanced techniques for building maintainable, modular Go applications.
BackendGoGo modules
0 likes · 6 min read

This article traces Go's package management evolution from GOPATH to Go Modules, explains module initialization, dependency handling, version control, showcases go.mod and go.sum files, compares alternative tools like dep and glide, and outlines best practices such as version locking, semantic versioning, and regular updates.
Best PracticesDependency ManagementGOPATH
0 likes · 8 min read

This article explains Go's package system, covering package declaration, classification, import mechanics, identifier visibility, the init function, and how to manage dependencies using Go Modules from Go 1.11 onward.
GoGo modulesimport
0 likes · 4 min read

This guide explains why Go commands often cannot download golang.org/x packages, and provides step‑by‑step solutions including setting HTTP/HTTPS proxies, manually cloning mirror repositories, using go.mod replace directives, and configuring the GOPROXY environment variable to ensure reliable dependency retrieval.
Dependency ManagementGOPROXYGo modules
0 likes · 6 min read

This article explains how Go modules define version information through the go directive, toolchain directive, go env GOTOOLCHAIN variable, and system GOTOOLCHAIN environment variable, detailing their syntax, effects, interactions, and priority rules for reliable project builds.
BackendGoGo modules
0 likes · 8 min read

This guide explains why Go commands like go get fail to download golang.org/x packages, and provides step‑by‑step solutions using HTTP/HTTPS proxy settings, manual repository cloning, go.mod replace directives, and the GOPROXY environment variable to reliably fetch dependencies.
Backend DevelopmentDependency ManagementGOPROXY
0 likes · 6 min read

This article provides an in‑depth overview of Go Modules, covering its history, core concepts such as modules, packages, versioning, environment variables, the Minimal Version Selection algorithm, and practical commands for initializing projects, adding, upgrading, and downgrading dependencies, all illustrated with real code examples.
Dependency ManagementGo modulesVersioning
0 likes · 29 min read

This article analyses the frequent compatibility problems that arise when using etcd v3.3/v3.4 together with newer gRPC and protobuf versions, explains their root causes, and presents the solution introduced in etcd v3.5 with modular Go packages.
Go modulescompatibilityetcd
0 likes · 8 min read

Learn how to install Go, verify its version, configure environment variables, initialize modules, manage dependencies, build binaries, format code, tidy unused packages, run and test your applications, and use vet for static analysis—all with concise command-line examples for efficient Go development.
Backend DevelopmentGo modulescommand-line
0 likes · 5 min read

This guide explains how to configure Go 1.13+ to work with private GitLab repositories by using environment variables such as GOPRIVATE, GONOPROXY, and GONOSUMDB, covering common errors with go get, proxy settings, and checksum verification.
GOPRIVATEGitLabGo
0 likes · 6 min read

This article explains the evolution of Go's development workflow from the legacy GOPATH mode to the modern Go Modules system, details version‑specific changes, answers common migration questions, and provides a step‑by‑step tutorial with code examples for creating, testing, and managing Go modules in production projects.
Backend DevelopmentDependency ManagementGOPATH
0 likes · 13 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 compares Go and Node.js from a Node.js developer’s viewpoint, highlighting Go’s static typing, compiled nature, enforced formatting, built‑in libraries, package management, and tooling, and provides resources for learning Go effectively.
Go modulesNode.jscompiled language
0 likes · 7 min read
