BigHugger
sk Skill · cxuu

go-declarations

Use when declaring or initializing Go variables, constants, structs, or maps — including var vs :=, reducing scope with if-init, formatting composite literals, designing iota enums, and using any instead of interface{}. Also use when writing a new struct or const block, even if the user doesn't ask about declaration style. Does not cover naming conventions (see go-naming).

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