Go Modernize

Modernize Go code to use current language features and standard library additions. Covers generics, log/slog, errors.Join, slices/maps packages, range-over-func, and iterators introduced in Go 1.21-1.23+. Use when: "modernize", "update to modern Go", "use generics", "replace interface{}", "upgrade Go version", "slog", "errors.Join", "range over func", "iterators". Do NOT use for: general code style (use go-coding-standards), error handling philosophy (use go-error-handling), or logging architecture (use go-observability).

Gisellesleeveless396 Updated

File contents

Gisellesleeveless396/go-agent-skills/tree/main/skills/(code-quality)/go-modernize commit 4c3073e68b

Frequently asked questions

npx skillmds@latest add gisellesleeveless396/go-modernize