Tagged articles

GOPATH

4 articles · Page 1 of 1
Subtle Storm
Subtle Storm
Mar 20, 2025 · Backend Development

Deep Dive into Go Package Management: Tools and Best Practices

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.

Dependency ManagementGOPATHGo
0 likes · 8 min read
Deep Dive into Go Package Management: Tools and Best Practices
Raymond Ops
Raymond Ops
Jan 22, 2025 · Backend Development

10 Essential Go Practices to Write Flexible, Maintainable Code

This article presents ten practical Go programming techniques—from using a single GOPATH and wrapping for‑select loops to defining custom types, improving enum handling with iota, and encapsulating repetitive logic with context helpers—aimed at building flexible, readable, and easily maintainable applications.

Code OrganizationGOPATHGo
0 likes · 14 min read
10 Essential Go Practices to Write Flexible, Maintainable Code
High Availability Architecture
High Availability Architecture
Dec 15, 2021 · Backend Development

Understanding Go Modules: From GOPATH to Modern Dependency Management

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.

Dependency ManagementGOPATHGo
0 likes · 13 min read
Understanding Go Modules: From GOPATH to Modern Dependency Management
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.

Dependency ManagementGOPATHGo
0 likes · 15 min read
Understanding Go Modules: Evolution, Usage, and Best Practices