Commit 0833d4ba authored by astaxie's avatar astaxie

fix #132

parent f2b359d8
......@@ -24,7 +24,11 @@ func (rc *MemcacheCache) Get(key string) interface{} {
return nil
}
var contain interface{}
contain = v
if len(v) > 0 {
contain = string(v[0].Value)
} else {
contain = nil
}
return contain
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment