{"published":"2014-04-11 23:39:17","width":"100%","image_url":null,"provider_url":"https://hatena.blog","url":"https://y0m0r.hateblo.jp/entry/20140411/1397227157","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","title":"Golang\u3067map\u304b\u3089querystring\u3092\u751f\u6210\u3059\u308b","version":"1.0","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20140411%2F1397227157\" title=\"Golang\u3067map\u304b\u3089querystring\u3092\u751f\u6210\u3059\u308b - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u30ad\u30fc\u3067\u30bd\u30fc\u30c8\u3057\u3066\u3001\u5024\u306f\u30a8\u30b9\u30b1\u30fc\u30d7\u3059\u308b package main import ( \"fmt\" \"net/url\" \"sort\" \"strings\" ) type SortedQuery struct { _map map[string]string keys []string } func (sq *SortedQuery) Len() int { return len(sq._map) } func (sq *SortedQuery) Less(i, j int) bool { return sq.keys[i] < sq.keys[j] } func (sq *SortedQuery) S\u2026","height":"190","type":"rich","categories":["golang"],"blog_url":"https://y0m0r.hateblo.jp/","provider_name":"Hatena Blog","author_name":"yuheiomori0718"}