A flexible, powerful, high performance and minimalist Go Web HTTP router framework.
echo.Router
maybe panics when using non-standard HTTP methods.echo.Router
supports non-standard http methods. #18BindURLValuesAndFiles
supports the exported anonymous struct field.BindURLValuesAndFiles
to support to bind the values of type *multipart.FileHeader
.FormBinder
uses BindURLValuesAndFiles
instead of BindURLValues
to support *multipart.FileHeader
.Static
and StaticFS
also register the static root directory as a route to support the redirect for */index.html
. #9Context.JSON
and Context.XML
work correctly on the invalid json
or xml
data.BindURLValues
supports the unexported embedded anonymous struct, for example, #4
type person struct {
Name string `query:"name" form:"name"`
Age int `query:"age" form:"age"`
}
type Student struct {
person
School string `query:"school" form:"school"`
Grade int `query:"grade" form:"grade"`
}
BindURLValues
supports the types of time.Time
and time.Duration
. #3Runner
will watch the change of the certificate files and reload them./
, which will be added automatically.GitHub Actions
instead of Travis
to run the unit tests.Runner
: Log the shutdown when the runner is stopped.