{"url":"https://y-ni-shi.hatenablog.com/entry/2020/04/29/124015","width":"100%","provider_url":"https://hatena.blog","title":"Go\u306ehttp\u30ea\u30af\u30a8\u30b9\u30c8\u306emock\u306b\u3064\u3044\u3066","published":"2020-04-29 12:40:15","type":"rich","description":"Go\u3067http\u30ea\u30af\u30a8\u30b9\u30c8 \u53c2\u8003 golang.org \u3044\u304f\u3064\u304b\u65b9\u6cd5\u306f\u3042\u308b\u3088\u3046\u3060\u304c\u3001 client := &http.Client{ CheckRedirect: redirectPolicyFunc, } resp, err := client.Get(\"http://example.com\") // ... req, err := http.NewRequest(\"GET\", \"http://example.com\", nil) // ... req.Header.Add(\"If-None-Match\", `W/\"wyzzy\"`) resp, err := client.Do(req) //\u2026","version":"1.0","categories":["Go"],"author_name":"y-ni-shi","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy-ni-shi.hatenablog.com%2Fentry%2F2020%2F04%2F29%2F124015\" title=\"Go\u306ehttp\u30ea\u30af\u30a8\u30b9\u30c8\u306emock\u306b\u3064\u3044\u3066 - yasu&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"yasu's blog","height":"190","author_url":"https://blog.hatena.ne.jp/y-ni-shi/","blog_url":"https://y-ni-shi.hatenablog.com/","image_url":null}