summaryrefslogtreecommitdiffhomepage
path: root/src/mintage/mintage.go
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-06-09 02:51:27 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-06-09 02:51:27 +0200
commit52db1d03e5067de4ba77c3a12465149d268eb3d1 (patch)
tree96286b94957e2546a789cbdcad2677b6f03b0973 /src/mintage/mintage.go
parent09defec0a015e7ddb118bd453ea2925a5cb9d5dc (diff)
Begin migration towards SQLite
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)
- }
-}