func (wok *Wok) DELETE(path string, mws ...noodle.Middleware) RouteClosure {
	return wok.Handle("DELETE", path, mws...)
}
DELETE is a convenience wrapper over Wok.Handle
package wok
import (
	"github.com/andviro/noodle"
	mw "github.com/andviro/noodle/middleware"
	"golang.org/x/net/context"
	"net/http"
	"strings"
)
type HandlerC interface {
	ServeHTTPC(context.Context, http.ResponseWriter, *http.Request)
}
func (f RouteClosure) HandleC(h HandlerC) {
	f(func(ctx context.Context, w http.ResponseWriter, r *http.Request) error {
		h.ServeHTTPC(ctx, w, r)
		return nil
	})
}
func (f RouteClosure) HandleFuncC(h func(ctx context.Context, w http.ResponseWriter, r *http.Request)) {
	f(func(ctx context.Context, w http.ResponseWriter, r *http.Request) error {
		h(ctx, w, r)
		return nil
	})
}
func UrlJoin(paths ...string) (res string) {
	rawRes := strings.Join(paths, "/")
	for _, s := range strings.Split(rawRes, "/") {
		if s != "" {
			res += "/" + s
		}
	}
	if res == "" {
		return "/"
	}
	return
}
func Default(mws ...noodle.Middleware) *Wok {
	return New(mw.Default(mws...)...)
}
func (wok *Wok) GET(path string, mws ...noodle.Middleware) RouteClosure {
	return wok.Handle("GET", path, mws...)
}
func (wok *Wok) POST(path string, mws ...noodle.Middleware) RouteClosure {
	return wok.Handle("POST", path, mws...)
}