How to turn struct-tag validation failures into a standard "application/problem+json" response — the RFC 9457 format — with one method call, no hand-rolled error envelope. Most Go APIs invent their own validation error shape. One team returns {"errors": [...
Source: [Dev.to](https://dev.to/onurcinar/returning-rfc-9457-problem-details-from-go-validation-errors-4nb7)