~/talk

Go Module Hygiene: Keeping go.sum and go.mod in check

Talkat GopherCon UK 2025 · 2025-08-13..08-15· [developer-experience, security]
links:none on file
slides:none on file

Practical checklist for keeping go.mod and go.sum healthy: run go mod tidy regularly to remove unused deps, use go mod vendor when builds must not pull remote code, pin exact versions for CI reproducibility, and add automated CI vulnerability scans that fail builds on checksum or CVE changes. Watch for three red flags — slow builds, ballooning binaries, and mysterious runtime errors — and document version decisions plus tests before upgrading to avoid surprising regressions.

AI-written summary · about

  1. 0:00Go Module Hygiene intro
  2. 2:54go.mod and go.sum explained
  3. 7:10Unhealthy module symptoms
  4. 14:27Cleaning deps with go mod tidy
  5. 15:31Dependency graph mapping
  6. 16:55Dependency origins with go mod why
  7. 18:00Pinning deps for stability
  8. 20:09Evaluating third-party deps
  9. 21:33Checking dep maintenance
  10. 23:43Regular dep pruning
  11. 25:11Dependency security risks
  12. 27:45Automated vulnerability scanning
  13. 28:28Using go mod vendor
  14. 29:34go.sum and supply chain attacks
  15. 30:36Sustainable module habits
  16. 32:02Automating checks in CI/CD
  17. 33:31Testing deps before updates
  18. 34:12Key takeaways and best practices
  19. 41:51Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.