use submodule

This commit is contained in:
fengzhiqiang
2019-01-08 11:21:45 +08:00
parent cfb9dc5d34
commit 4321c4fc5a
444 changed files with 40 additions and 235563 deletions
-21
View File
@@ -1,21 +0,0 @@
// +build go1.8
package handlers
import (
"fmt"
"net/http"
)
type loggingResponseWriter interface {
commonLoggingResponseWriter
http.Pusher
}
func (l *responseLogger) Push(target string, opts *http.PushOptions) error {
p, ok := l.w.(http.Pusher)
if !ok {
return fmt.Errorf("responseLogger does not implement http.Pusher")
}
return p.Push(target, opts)
}