ходим на сайты в интернете

This commit is contained in:
2024-02-04 15:17:32 +07:00
parent f0f1e83c60
commit 3cfa44b99c
6 changed files with 144 additions and 28 deletions
+1
View File
@@ -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)
})