Skip to content

Commit 703a04e

Browse files
Fix naming of ServeHTTP example
1 parent c456f00 commit 703a04e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func ExampleHandler() {
2424
}))
2525
}
2626

27-
func ExampleHandlerServeHTTP() {
27+
func ExampleHandler_ServeHTTP() {
2828
es := eventsource.Handler(func(e *eventsource.Encoder, stop <-chan bool) {
2929
for {
3030
select {

0 commit comments

Comments
 (0)