echox
echox copied to clipboard
Echo cookbook and website
Follow up to [this PR](https://github.com/labstack/echox/pull/256), I've made the following changes to Binding guide: * Restructure `Binding with Struct Tags` section into subsections based on included content * Collapse the `Notes`...
per https://pkg.go.dev/html/template#ParseGlob the template name is "the (base) name and (parsed) contents of the first file matched by the pattern", so `hello.html` was correct. This reverts commit cc451ec9493ad022972680151b2de137d98627ae.
Added the curl command: curl -X POST http://localhost:1323/users \ -H 'Content-Type: application/json' \ -d '{"name":"Joe","email":"joe@invalid-domain"}' {"message":"Key: 'User.Email' Error:Field validation for 'Email' failed on the 'email' tag"}
While running the example, refreshing the index.html page will cause an errors in the server.go. Since using infinite for loop on line (:14), you need to break it if error...
Add example for skip specific route's log.
Fix the issue discussed in https://github.com/labstack/echox/issues/140 We need to add a new line for the expected JSON to pass the test. ```sh $ go test -run ^TestCreateUser$ PASS ok echo-testing/handler...
Added dockerfile sample for echo server
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.3.0 to 1.4.1. Release notes Sourced from github.com/gorilla/websocket's releases. v1.4.1 Notable Changes ⚠️ This release fixes a potential denial-of-service (DoS) vector in gorilla/websocket, and we recommend that...
Synchronize with v4.4.0.