Skip to content
This repository was archived by the owner on Jun 4, 2026. It is now read-only.

v1.2.0

Choose a tag to compare

@loadept loadept released this 26 May 00:54
· 1 commit to main since this release

v1.2.0

Features

  • GetBodyWith — new method that caches the raw request body on first read and returns it on subsequent calls without re-reading. Ideal for middlewares that need the raw body (HMAC verification, custom parsing, logging) while allowing downstream handlers to bind the cached body with BindJSONWith, BindXMLWith, etc.

Fixes

  • BindBodyWith — added nil body check, returns pirca: invalid request error when Request.Body is nil instead of panicking

Breaking Changes

None. Fully backward compatible.