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).

aneviaro Updated 0 repo stars
ask_user_question presents a recommended multiple-choice prompt in Pi

File contents

aneviaro/pipack commit f640294cb8

Frequently asked questions

npx get-skill add aneviaro/go-declarations