go-querystring icon indicating copy to clipboard operation
go-querystring copied to clipboard

Feat: add Decode function to parse url.Values into struct

Open vcxp opened this issue 8 months ago • 0 comments

Adds a Decode function that maps url.Values into structs.

This mirrors the existing Values() encoder, and uses the same struct tags and nested field naming.

Useful for cases where query parameters need to be parsed into typed data structures (middleware, microservices mostly).

Fixes #153

vcxp avatar Apr 25 '25 21:04 vcxp