Skip to content

gzhttp: Return http.HandlerFunc instead of http.Handler - #406

Merged
klauspost merged 1 commit into
masterfrom
return-handlerfunc
Jul 9, 2021
Merged

gzhttp: Return http.HandlerFunc instead of http.Handler#406
klauspost merged 1 commit into
masterfrom
return-handlerfunc

Conversation

@klauspost

Copy link
Copy Markdown
Owner

http.HandlerFunc is more flexible and offers the http.Handler interface.

Very lightly breaking change.

`http.HandlerFunc` is more flexible and offers the `http.Handler` interface.

Very lightly breaking change.
@klauspost
klauspost merged commit e9c9800 into master Jul 9, 2021
@klauspost
klauspost deleted the return-handlerfunc branch July 9, 2021 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant