diff --git a/currency.go b/currency.go index 3bee9b2..23025c3 100644 --- a/currency.go +++ b/currency.go @@ -18,7 +18,7 @@ type Currencies map[string]*Currency func (c *Currency) Get(code string) *Currency { code = strings.ToUpper(code) - cs := c.read("./currencies.json") + cs := c.read("./resources/currencies.json") if _, ok := cs[code]; !ok { log.Fatalf("Currency %s not found", code) diff --git a/data/currencies.json b/resources/currencies.json similarity index 100% rename from data/currencies.json rename to resources/currencies.json