Skip to content

Commit

Permalink
Docs: Deprecate ToHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed Jul 12, 2024
1 parent 787c1e1 commit 12c3cf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,6 @@ func ToFile(name string) ResponseHandler {
}

// ToHeaders is an alias for backwards compatibility.
//
// Deprecated: Use CopyHeaders
var ToHeaders = CopyHeaders

0 comments on commit 12c3cf7

Please sign in to comment.