Tagged articles

vanity URLs

3 articles · Page 1 of 1
TonyBai
TonyBai
Sep 29, 2026 · Backend Development

Why Hardcoding github.com in Go Imports Is a Technical Debt Trap

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.

GitHubGoGo modules
0 likes · 21 min read
Why Hardcoding github.com in Go Imports Is a Technical Debt Trap
TonyBai
TonyBai
Jul 8, 2026 · Backend Development

Complete Guide to Pulling Private Go Modules: Credential Setup & Vanity URLs for Individuals and Teams

The article explains why private Go modules often cause pain points such as scattered credential storage, import path lock‑in, and scaling issues, then details the underlying mechanisms of GOPRIVATE, GOPROXY, GOSUMDB and GOVCS, and walks through personal and organizational solutions—including .netrc, git config rewriting, static HTML, govanityurls, and hosted services—while comparing trade‑offs and offering a decision matrix.

CICredential ConfigurationGOPRIVATE
0 likes · 15 min read
Complete Guide to Pulling Private Go Modules: Credential Setup & Vanity URLs for Individuals and Teams