diff --git a/logger.go b/logger.go index 8d2877c..8f02bf3 100644 --- a/logger.go +++ b/logger.go @@ -23,21 +23,6 @@ func NewLogger() *Logger { return &Logger{log.New(os.Stdout, "[narco] ", log.LstdFlags)} } -type FooResponseWriter struct { - header http.Header -} - -func (f *FooResponseWriter) Header() http.Header { - return f.header -} - -func (f *FooResponseWriter) WriteHeader(status int) { -} - -func (f *FooResponseWriter) Write(b []byte) (int, error) { - return len(b), nil -} - func (l *Logger) Wrap() func(chain.Handler) chain.Handler { return func(other chain.Handler) chain.Handler { return chain.HandlerFunc(func(ctx context.Context, h http.ResponseWriter, r *http.Request) {