Refactored all forms to follow new pattern.
This commit is contained in:
parent
d5adf010db
commit
6f50552a15
11 changed files with 133 additions and 195 deletions
|
|
@ -53,7 +53,7 @@ func GetRequest(ctx echo.Context) Request {
|
|||
}
|
||||
}
|
||||
|
||||
func (r *Response) Apply(ctx echo.Context) {
|
||||
func (r Response) Apply(ctx echo.Context) {
|
||||
if r.Push != "" {
|
||||
ctx.Response().Header().Set(HeaderPush, r.Push)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue