{"author_url":"https://blog.hatena.ne.jp/zetamatta/","blog_title":"\u6a19\u6e96\u611a\u75f4\u51fa\u529b","blog_url":"https://zetamatta.hatenablog.com/","type":"rich","url":"https://zetamatta.hatenablog.com/entry/2019/02/04/235547","image_url":null,"author_name":"zetamatta","description":"\uff08\u7d9a\u304d\u306e\u8a18\u4e8b \u3042\u308a) serv.go : package main import ( \"fmt\" \"net\" \"os\" \"strings\" ) func handler(conn net.Conn) { defer conn.Close() var buffer [255]byte for { n, err := conn.Read(buffer[:]) if err != nil { fmt.Fprintln(os.Stderr, err) return } text := string(buffer[:n]) text = strings.Replace(text,\"\\r\",\"\\n\",-1\u2026","categories":["go"],"provider_name":"Hatena Blog","width":"100%","title":" Go \u3067 Cygterm \u3063\u307d\u3044\u3053\u3068\u3092\u3084\u308a\u305f\u3044\u306e\u3067\u3001\u30bd\u30b1\u30c3\u30c8\u30b5\u30fc\u30d0\u30fc\u3092\u66f8\u3044\u3066\u3044\u308b\uff08\u52c9\u5f37\u4e2d\uff09","height":"190","version":"1.0","published":"2019-02-04 23:55:47","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzetamatta.hatenablog.com%2Fentry%2F2019%2F02%2F04%2F235547\" title=\" Go \u3067 Cygterm \u3063\u307d\u3044\u3053\u3068\u3092\u3084\u308a\u305f\u3044\u306e\u3067\u3001\u30bd\u30b1\u30c3\u30c8\u30b5\u30fc\u30d0\u30fc\u3092\u66f8\u3044\u3066\u3044\u308b\uff08\u52c9\u5f37\u4e2d\uff09 - \u6a19\u6e96\u611a\u75f4\u51fa\u529b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog"}