{"title":"Redigo\uff1aGO\u8a00\u8a9e\u4e0a\u3067redis\u3092\u8a66\u3059\u3002","categories":["golang","dbTech"],"author_name":"shuzo_kino","provider_url":"https://hatena.blog","published":"2014-06-02 23:28:21","blog_url":"https://shuzo-kino.hateblo.jp/","provider_name":"Hatena Blog","version":"1.0","image_url":null,"url":"https://shuzo-kino.hateblo.jp/entry/2014/06/02/232821","width":"100%","description":"\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5c0e\u5165\u3057 $ go get github.com/garyburd/redigo/redis$ #{\u304a\u3053\u306e\u307f\u306e\u30a8\u30c7\u30a3\u30bf} hello-go-redis.go\u3068\u3084\u3063\u3066\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002 package main import \"fmt\" import \"github.com/garyburd/redigo/redis\" func main() { //INIT OMIT c, err := redis.Dial(\"tcp\", \":6379\") if err != nil { panic(err) } defer c.Close() //set c.Do(\"SET\", \"mes\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2014%2F06%2F02%2F232821\" title=\"Redigo\uff1aGO\u8a00\u8a9e\u4e0a\u3067redis\u3092\u8a66\u3059\u3002 - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","blog_title":"Bye Bye Moore","height":"190"}