README ¶ This example shows how you might generate a JSON response if the client's request has some type errors. Model type Person struct { FirstName string `json:"first_name"` LastName string `json:"last_name"` Age int `json:"age"` } Input { "first_name": "Jessie", "age": "26" } Output { "errors": { "age": "expected an int but it's a string" }, "ok": false } Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.