From 2c64db3863cc6ba3c930d43a3a6b8ee60f3263fb Mon Sep 17 00:00:00 2001 From: Adnan Maolood Date: Sun, 21 Feb 2021 18:52:04 -0500 Subject: Rename ResponseWriter.MediaType to SetMediaType --- timeout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'timeout.go') diff --git a/timeout.go b/timeout.go index e5d4b28..a2fcd41 100644 --- a/timeout.go +++ b/timeout.go @@ -71,7 +71,7 @@ type timeoutWriter struct { timedOut bool } -func (w *timeoutWriter) MediaType(mediatype string) { +func (w *timeoutWriter) SetMediaType(mediatype string) { w.mu.Lock() defer w.mu.Unlock() w.mediatype = mediatype -- cgit v1.2.3