fix README.md

This commit is contained in:
syumai 2022-05-18 00:21:08 +09:00
parent b204abdb50
commit b79369769c

View File

@ -32,7 +32,7 @@ or just call `http.Handle` and `http.HandleFunc`, then invoke `workers.Serve()`
```go
func main() {
http.HandleFunc("/hello", func (w http.ResponseWriter, req *http.Request) { ... })
workers.Serve(nil) // if nil is given, http.DefaultMux is used.
workers.Serve(nil) // if nil is given, http.DefaultServeMux is used.
}
```