Skip to content

Commit 12c3cf7

Browse files
committed
Docs: Deprecate ToHeaders
1 parent 787c1e1 commit 12c3cf7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

handler.go

+2
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,6 @@ func ToFile(name string) ResponseHandler {
132132
}
133133

134134
// ToHeaders is an alias for backwards compatibility.
135+
//
136+
// Deprecated: Use CopyHeaders
135137
var ToHeaders = CopyHeaders

0 commit comments

Comments
 (0)