func (cache *structTypeCache) clear() {
	cache.mutex.Lock()
	for typ := range cache.store {
		delete(cache.store, typ)
	}
	cache.mutex.Unlock()
}
func (cache *structTypeCache) clear() {
	cache.mutex.Lock()
	for typ := range cache.store {
		delete(cache.store, typ)
	}
	cache.mutex.Unlock()
}
func ( cache * structTypeCache ) clear ( ) { cache . mutex . Lock ( ) for typ := range cache . store { delete ( cache . store , typ ) } cache . mutex . Unlock ( ) }
// clear empties the cache.
clear empties the cache .