Go Package Architecture

How internal/ packages are organized in a Go project and how errors travel across their boundaries. Use when creating a package under internal/, deciding between domain and layered organization, choosing where to wrap an error, designing a persistence layer, or shaping a config struct that a command fills from flags. Triggers on internal/ package creation, fmt.Errorf wrapping, Store interfaces, JSONStore, handlers/services/models directories, and http.Client construction.

Tanq16 Updated 3 repo stars

File contents

Tanq16/claudex commit 307ad29f53

Frequently asked questions

npx get-skill add tanq16/go-package-architecture