Why can't the function just be

... func( w martini.ResponseWriter, ...) 

Then

type ResponseWriter {
    http.ResponseWriter
    http.Flusher
}

Then the middleware can take care of converting one to the other.