fix: modify interface check way (#3327)

This commit is contained in:
Jesse
2022-10-20 00:49:19 +08:00
committed by GitHub
parent 33ab0fc155
commit 51aea73ba0
6 changed files with 6 additions and 6 deletions

View File

@ -49,7 +49,7 @@ type responseWriter struct {
status int
}
var _ ResponseWriter = &responseWriter{}
var _ ResponseWriter = (*responseWriter)(nil)
func (w *responseWriter) reset(writer http.ResponseWriter) {
w.ResponseWriter = writer