V should be Item
This commit is contained in:
parent
746fe067c4
commit
99360acb31
2
cache.go
2
cache.go
|
@ -182,7 +182,7 @@ func (c *cache) IncrementFloat(k string, n float64) error {
|
||||||
|
|
||||||
v, found := c.Items[k]
|
v, found := c.Items[k]
|
||||||
if !found {
|
if !found {
|
||||||
return fmt.Errorf("V not found")
|
return fmt.Errorf("Item not found")
|
||||||
}
|
}
|
||||||
|
|
||||||
t := reflect.TypeOf(v.Object)
|
t := reflect.TypeOf(v.Object)
|
||||||
|
|
Loading…
Reference in New Issue