Go Functions

Use when organising functions in a Go file, formatting signatures, designing return values, or naming Printf-style helpers. Covers in-file ordering (type → ctor → exported → unexported → utils), multi-line signature shape, naked-parameter clarity, pointer-vs-value receivers, and the `f`-suffix rule. Apply proactively to any new function. Functional options: see go-functional-options.

muratmirgun adf22d5 4 files · 12.3 KB Updated

File contents

muratmirgun/gophers/tree/main/skills/go-functions commit adf22d5778

Frequently asked questions

npx skillmds@latest add muratmirgun/go-functions