~/codex/gin
gin notes
// boilerplate, middleware, routing, request binding
general
go↗
auth, sessions, cookies, and a lot of pain
everything that went wrong building cross-domain httponly cookie auth with next.js middleware and go — and how we fixed it
gin↗
gin boilerplate walkthrough
reading through a production gin setup — what each piece does and why
go↗
jwt auth flow
how register, login, and refresh token work in my go/gin ecom backend — the why behind every decision
go↗
testing go handlers
how i wrote tests for gin handlers — mocks, httptest, cookies, jwts, mistakes i made
go↗
request validation
how gin binding, validation errors, and api responses are structured in cartspace