mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
Move to container/list datastructure from map[string][]byte
This commit is contained in:
Vendored
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user