{"url":"https://ema-hiro.hatenablog.com/entry/2018/05/14/003526","provider_url":"https://hatena.blog","blog_title":"emahiro/b.log","categories":["Go"],"published":"2018-05-14 00:35:26","provider_name":"Hatena Blog","description":"\u3084\u308a\u305f\u3044\u3053\u3068 Go\u3067\u7acb\u3066\u305f\u7c21\u6613web\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u6642\u306b\u6a19\u6e96\u51fa\u529b\u3067Log\u3092\u8868\u793a\u3055\u305b\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002 web\u30b5\u30fc\u30d0\u30fc\u3092\u7acb\u3066\u308b /src/todo main.gp handler/main.gp main.go package main import ( \"fmt\" \"net/http\" \"todos/handler\" ) var addr = \":3000\" func main() { router := http.NewServeMux() router.HandleFunc(\"/\", handler.Index) fmt.Printf(\"[START] server. port: %s\u2026","version":"1.0","author_name":"ema_hiro","height":"190","title":"\u3010Go\u3011Web\u30b5\u30fc\u30d0\u30fc\u3067Log\u3092\u8868\u793a\u3059\u308b","width":"100%","type":"rich","author_url":"https://blog.hatena.ne.jp/ema_hiro/","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fema-hiro.hatenablog.com%2Fentry%2F2018%2F05%2F14%2F003526\" title=\"\u3010Go\u3011Web\u30b5\u30fc\u30d0\u30fc\u3067Log\u3092\u8868\u793a\u3059\u308b - emahiro/b.log\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://ema-hiro.hatenablog.com/"}