{"width":"100%","blog_title":"\u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\u65e5\u8a18","height":"190","author_name":"gsf_zero1","version":"1.0","provider_url":"https://hatena.blog","categories":["golang"],"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F2022%2F07%2F26%2F073000\" title=\"Go\u30e1\u30e2-226 (http.ListenAndServe\u3067\u8d77\u52d5\u3057\u305f\u30b5\u30fc\u30d0\u3092\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3059\u308b) - \u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/gsf_zero1/","provider_name":"Hatena Blog","title":"Go\u30e1\u30e2-226 (http.ListenAndServe\u3067\u8d77\u52d5\u3057\u305f\u30b5\u30fc\u30d0\u3092\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3059\u308b)","blog_url":"https://devlights.hatenablog.com/","image_url":"https://go.dev/blog/gopher/header.jpg","description":"\u6982\u8981 \u30b5\u30f3\u30d7\u30eb main.go Taskfile.yml \u53c2\u8003\u60c5\u5831 \u6982\u8981 \u3088\u304f\u5fd8\u308c\u308b\u306e\u3067\u3001\u4ee5\u4e0b\u306b\u30e1\u30e2\u30e1\u30e2\u3002\u3002\u3002 \u305d\u306e\u307e\u307e http.ListenAndServe \u3067\u8d77\u52d5\u3059\u308b\u3068\u5f53\u7136\u99c4\u76ee\u306a\u306e\u3067\u3001http.Server \u3092\u4f5c\u3063\u3066\u8d77\u52d5\u3057\u307e\u3059\u3002 \u30b5\u30f3\u30d7\u30eb main.go package main import ( \"context\" \"log\" \"net/http\" \"time\" ) func main() { var ( mux = http.NewServeMux() srv = &http.Server{Addr: \":8888\", Handler: mux} mainCtx = context.\u2026","url":"https://devlights.hatenablog.com/entry/2022/07/26/073000","published":"2022-07-26 07:30:00"}