Reformat comoments to flow better with the code
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
)
|
||||
|
||||
func hello(w http.ResponseWriter, req *http.Request) {
|
||||
|
||||
// A `context.Context` is created for each request by
|
||||
// the `net/http` machinery, and is available with
|
||||
// the `Context()` method.
|
||||
@@ -35,6 +36,7 @@ func hello(w http.ResponseWriter, req *http.Request) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
||||
// As before, we register our handler on the "/hello"
|
||||
// route, and start serving.
|
||||
http.HandleFunc("/hello", hello)
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
4ec814bf1b01bf71fb95007cad39586ad87e3fb6
|
||||
k3vHfk-r3EE
|
||||
50f0c85266d1f8f546242ce8f8caf27732e99dff
|
||||
h1gVSe70R00
|
||||
|
||||
Reference in New Issue
Block a user