Go Declarations

Use when declaring or initializing Go variables, constants, structs, or maps. Covers var vs :=, grouped declaration blocks, iota enums starting at 1, struct/map/slice composite literals, raw string literals, `any` over `interface{}`, and avoiding shadowed builtins. Apply proactively to any new struct, const block, or top-level var, even if the user did not ask about declaration style. Does not cover identifier naming (see go-naming).

muratmirgun Updated 9 repo stars

File contents

muratmirgun/gophers commit fc28f0110d

Frequently asked questions

npx get-skill add muratmirgun/go-declarations