ходим на сайты в интернете
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
|
||||
func main() {
|
||||
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Println(r.Header)
|
||||
fmt.Fprintf(w, "Hello World!")
|
||||
w.WriteHeader(200)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user