summaryrefslogtreecommitdiffhomepage
path: root/src/mintage/mintage.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/mintage/mintage.go')
-rw-r--r--src/mintage/mintage.go42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/mintage/mintage.go b/src/mintage/mintage.go
deleted file mode 100644
index 0e98bd1..0000000
--- a/src/mintage/mintage.go
+++ /dev/null
@@ -1,42 +0,0 @@
-package mintage
-
-type Data struct {
- Standard []SRow
- Commemorative []CRow
-}
-
-type SRow struct {
- Year int
- Mintmark string
- Mintages [denoms]int
- Reference string
-}
-
-type CRow struct {
- Year int
- Name string
- Mintmark string
- Mintage int
- Reference string
-}
-
-const (
- TypeCirc = iota
- TypeNifc
- TypeProof
-)
-
-const (
- Unknown = -iota - 1
- Invalid
-)
-
-const denoms = 8
-
-var cache map[string][3]Data = make(map[string][3]Data)
-
-func ClearCache(country string) {
- if _, ok := cache[country]; ok {
- delete(cache, country)
- }
-}