From ca71fcda9101fc8f7fb5605ba22fc1b5d00965ec Mon Sep 17 00:00:00 2001 From: Raymond Date: Mon, 3 Apr 2017 09:14:07 +0100 Subject: [PATCH] Move currencies --- currency.go | 2 +- {data => resources}/currencies.json | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {data => resources}/currencies.json (100%) 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