From 12c3cf79dc42adf0d7b09ee22d0a98a2adf73ad5 Mon Sep 17 00:00:00 2001 From: Carlana Johnson Date: Fri, 12 Jul 2024 15:22:58 -0400 Subject: [PATCH] Docs: Deprecate ToHeaders --- handler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handler.go b/handler.go index 6da7fe7..7aa6278 100644 --- a/handler.go +++ b/handler.go @@ -132,4 +132,6 @@ func ToFile(name string) ResponseHandler { } // ToHeaders is an alias for backwards compatibility. +// +// Deprecated: Use CopyHeaders var ToHeaders = CopyHeaders