aboutsummaryrefslogtreecommitdiff
path: root/examples/stream.go
diff options
context:
space:
mode:
authorAdnan Maolood <[email protected]>2021-03-15 15:44:35 -0400
committerAdnan Maolood <[email protected]>2021-03-15 15:44:35 -0400
commit1fdef9b608a4578b75c3cebbbfdba4ca20835354 (patch)
treed55f2dcf4463fad74462b5c1bda65bac1b7f45e2 /examples/stream.go
parentstatus: Reintroduce StatusSensitiveInput (diff)
downloadgo-gemini-1fdef9b608a4578b75c3cebbbfdba4ca20835354.tar.xz
go-gemini-1fdef9b608a4578b75c3cebbbfdba4ca20835354.zip
Rename ServeMux to Mux
Diffstat (limited to 'examples/stream.go')
-rw-r--r--examples/stream.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stream.go b/examples/stream.go
index 7dadf31..6f29fb4 100644
--- a/examples/stream.go
+++ b/examples/stream.go
@@ -21,7 +21,7 @@ func main() {
log.Fatal(err)
}
- mux := &gemini.ServeMux{}
+ mux := &gemini.Mux{}
mux.HandleFunc("/", stream)
server := &gemini.Server{