package cacheApi import ( "epur-pay/model" "sync" ) type Currency struct { List map[string]model.ExchangeRate Map *sync.Map duplicate *Currency } func (p *Currency) Refresh() *Currency { return p }