Move to container/list datastructure from map[string][]byte

This commit is contained in:
Harshavardhana
2015-07-04 17:08:23 -07:00
parent d11dfe003c
commit bab4a47525
4 changed files with 71 additions and 104 deletions

View File

@@ -29,7 +29,7 @@ type MySuite struct{}
var _ = Suite(&MySuite{})
func (s *MySuite) TestCache(c *C) {
cache := NewCache(1000, 0)
cache := NewCache(1000)
data := []byte("Hello, world!")
ok := cache.Set("filename", data)