Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
V1, V2 interface{}
V3 []interface{}
B []byte
E error
C1, C2, C3 int
Keys []string
}
Cache for easily sharing state between map operations and methods V{1,2} are common interface{} placeholders, C{1,2,3} are counters used for condition, while []Keys is used by path discovery methods to keep track and derive the right path.
func (*Cache) Clear ¶
func (c *Cache) Clear()
Clear for clearing the cache and setting all content to nil
func (*Cache) DropLastKey ¶
func (c *Cache) DropLastKey()
DropLastKey removes the last key added from the list
Click to show internal directories.
Click to hide internal directories.