17 lines
218 B
Go
17 lines
218 B
Go
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
|
|
}
|