func()

in src/statequery/cache.go [37:46]


func (cache *Cache) Add(key string, projects []string) {
	cache.mutex.Lock()

	cache.items[key] = &cacheItem{
		updated:  time.Now().UTC(),
		projects: projects,
	}

	cache.mutex.Unlock()
}