Go Layout

Go project layout, package design and API surface. This skill should be used when the user creates a package, adds or renames an exported identifier, decides between cmd/ and internal/, writes a doc comment on an API, or reviews a diff that changes a public type or signature — also import grouping and blank or dot imports, struct literals of foreign types, receiver naming, initialisms, in-band errors, util/common grab-bags, and hexagonal/DDD ceremony. Pair with revive and `go vet` (composites). Not for error handling (go-errors) or tests (go-testing).

Cadasto ddbf97a 8.5 KB Updated

File contents

Cadasto/go-coding-plugin/tree/main/skills/go-layout commit ddbf97ac3f

Frequently asked questions

npx skillmds@latest add cadasto/go-layout