2023-11-01から1日間の記事一覧
github.com 対象のアプリケーションを書く net/httpを簡単なwebサーバをターゲットにします。 package main import ( "fmt" "net/http" ) func helloHandler(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, "Hello") } func main() { http.Handle…
github.com 対象のアプリケーションを書く net/httpを簡単なwebサーバをターゲットにします。 package main import ( "fmt" "net/http" ) func helloHandler(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, "Hello") } func main() { http.Handle…