BigHugger
sk Skill · cxuu

go-defensive

Use when hardening Go code at API boundaries — copying slices/maps, verifying interface compliance, using defer for cleanup, time.Time/time.Duration, or avoiding mutable globals. Also use when reviewing for robustness concerns like missing cleanup or unsafe crypto usage, even if the user doesn't mention "defensive programming." Does not cover error handling strategy (see go-error-handling).

installs 8w
262
30-day movement
starts with the next reading
Related entries
1
Connections
0
goHTML
Host repository
cxuu/golang-skills
Installs, lifetime
1,100
Installs, 8 weeks
262
Host stars
161
Host language
HTML