Tagged articles

go-mod

12 articles · Page 1 of 1
TonyBai
TonyBai
May 13, 2026 · Backend Development

The 7 Hidden Powers of the go.mod “go 1.xx” Directive Every Go Developer Misses

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
The 7 Hidden Powers of the go.mod “go 1.xx” Directive Every Go Developer Misses
21CTO
21CTO
May 12, 2026 · Backend Development

Why Go Is the Most Direct Language for 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 DevelopmentGoGoroutine
0 likes · 12 min read
Why Go Is the Most Direct Language for Backend Development
Golang Shines
Golang Shines
Apr 19, 2026 · Backend Development

Mastering Go Modules and Packages: A Complete Guide

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
Mastering Go Modules and Packages: A Complete Guide
TonyBai
TonyBai
Apr 11, 2026 · Fundamentals

Go Command Working Group Forms: Decade-Old Commands Facing Deprecation

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.

GO111MODULEGodeprecation
0 likes · 11 min read
Go Command Working Group Forms: Decade-Old Commands Facing Deprecation
TonyBai
TonyBai
Feb 22, 2026 · Backend Development

Installed Go 1.26 but Can’t Use Its New Features? Inside the go mod init Downgrade Debate

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-debatego-modlanguage design
0 likes · 12 min read
Installed Go 1.26 but Can’t Use Its New Features? Inside the go mod init Downgrade Debate
Ops Development & AI Practice
Ops Development & AI Practice
May 20, 2024 · Backend Development

Why Go Module Checksums Fail and How to Fix go.sum Errors

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
Why Go Module Checksums Fail and How to Fix go.sum Errors
Tencent Cloud Developer
Tencent Cloud Developer
Nov 22, 2021 · Backend Development

Understanding Go Modules: Evolution, Usage, and Best Practices

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 DevelopmentGOPATHGo
0 likes · 15 min read
Understanding Go Modules: Evolution, Usage, and Best Practices
Alibaba Cloud Native
Alibaba Cloud Native
May 28, 2021 · Backend Development

Resolving Dubbo‑Go Module Path Errors: From go‑mod replace to Pseudo‑Version Fixes

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
Resolving Dubbo‑Go Module Path Errors: From go‑mod replace to Pseudo‑Version Fixes