fixed missing verb
This commit is contained in:
parent
6c3226ff63
commit
cb0bc37e6b
@ -10,6 +10,7 @@ import (
|
|||||||
// based on a request's method
|
// based on a request's method
|
||||||
func MutliHandler(h map[string]http.Handler) (http.HandlerFunc, error) {
|
func MutliHandler(h map[string]http.Handler) (http.HandlerFunc, error) {
|
||||||
m := map[string]bool{
|
m := map[string]bool{
|
||||||
|
http.MethodGet: true,
|
||||||
http.MethodHead: true,
|
http.MethodHead: true,
|
||||||
http.MethodPost: true,
|
http.MethodPost: true,
|
||||||
http.MethodPut: true,
|
http.MethodPut: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user