Merge pull request #262 from julian-zucker/http-servers-out-typo
Fix typo in http servers example
This commit is contained in:
commit
d8751b33a6
@ -17,7 +17,7 @@ func hello(w http.ResponseWriter, req *http.Request) {
|
|||||||
// Functions serving as handlers take a
|
// Functions serving as handlers take a
|
||||||
// `http.ResponseWriter` and a `http.Request` as
|
// `http.ResponseWriter` and a `http.Request` as
|
||||||
// arguments. The response writer is used to fill in the
|
// arguments. The response writer is used to fill in the
|
||||||
// HTTP response. Here out simple response is just
|
// HTTP response. Here our simple response is just
|
||||||
// "hello\n".
|
// "hello\n".
|
||||||
fmt.Fprintf(w, "hello\n")
|
fmt.Fprintf(w, "hello\n")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user