summaryrefslogtreecommitdiffhomepage
path: root/src/templates.go
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-06-06 01:32:41 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-06-06 01:32:41 +0200
commit2c726e551d90d20bcd2d78545c369864cc9038e5 (patch)
tree520615a33c966c729e70e549e859a2c01dc4ba40 /src/templates.go
parent9379ea42a9b0afd1abf705bf3300f03d8bbe79f9 (diff)
Use CSV’s for mintages
Diffstat (limited to 'src/templates.go')
-rw-r--r--src/templates.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates.go b/src/templates.go
index 2cee22e..f6413d9 100644
--- a/src/templates.go
+++ b/src/templates.go
@@ -13,7 +13,7 @@ import (
type templateData struct {
Printer Printer
Code, Type string
- Mintages mintage.Data
+ Mintages [3]mintage.Data
Countries []country
}
@@ -86,7 +86,7 @@ func templateMakeTuple(args ...any) []any {
func strToCtype(s string) int {
switch s {
case "nifc":
- return mintage.TypeNIFC
+ return mintage.TypeNifc
case "proof":
return mintage.TypeProof
default: