no need for a closure, cf. https://github.com/emicklei/go-restful/issues/21#issuecomment-20252820