func (mx *Mux) Method(method, pattern string, handler http.Handler) {
	m, ok := methodMap[strings.ToUpper(method)]
	if !ok {
		panic(fmt.Sprintf("chi: '%s' http method is not supported.", method))
	}
	mx.handle(m, pattern, handler)
}
func (mx *Mux) Method(method, pattern string, handler http.Handler) {
	m, ok := methodMap[strings.ToUpper(method)]
	if !ok {
		panic(fmt.Sprintf("chi: '%s' http method is not supported.", method))
	}
	mx.handle(m, pattern, handler)
}
func ( mx * Mux ) Method ( method , pattern string , handler http . Handler ) { m , ok := methodMap [ strings . ToUpper ( method ) ] if ! ok { panic ( fmt . Sprintf ( " " , method ) ) } mx . handle ( m , pattern , handler ) }
// Method adds the route `pattern` that matches `method` http method to
// execute the `handler` http.Handler.
Method adds the route pattern that matches method http method to execute the handler http . Handler .