code: func NewMiddlewareChain(mw ...Middleware) (mc MiddlewareChain) {
  	if len(mw) > 0 {
  		mc = mc.Extend(mw...)
  	}
  	return
  }
docs: // NewMiddlewareChain creates a new MiddlewareChain with the supplied Middleware
  // entries.