Skip to content

Version 1.1.0

Compare
Choose a tag to compare
@xStrom xStrom released this 21 Oct 05:50
21ceed9

New

  • Added functions for clearing specific cache entries.
// ClearCache removes the provided entity from cache.
// Takes either *S or *datastore.Key.
// The 'mem' and 'local' booleans dictate the type of caches to clear.
func (g *Goon) ClearCache(src interface{}, mem, local bool) error

// ClearCacheMulti removes the provided entities from cache.
// Takes either []*S or []*datastore.Key.
// The 'mem' and 'local' booleans dictate the type of caches to clear.
func (g *Goon) ClearCacheMulti(src interface{}, mem, local bool) error

Fixed

  • Projection queries no longer poison the cache with incomplete data.