From 9956f3071549569f4f972331ab0756c4c88ab713 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 29 Jul 2025 21:05:15 +0200 Subject: Use builtin printf --- src/templates.go | 2 -- src/templates/banknotes-codes.html.tmpl | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/templates.go b/src/templates.go index 2b44f38..94d1acb 100644 --- a/src/templates.go +++ b/src/templates.go @@ -1,7 +1,6 @@ package app import ( - "fmt" "html/template" "io/fs" "log" @@ -30,7 +29,6 @@ var ( "locales": i18n.Locales, "map": templateMakeMap, "safe": asHTML, - "sprintf": fmt.Sprintf, "toUpper": strings.ToUpper, "tuple": templateMakeTuple, } diff --git a/src/templates/banknotes-codes.html.tmpl b/src/templates/banknotes-codes.html.tmpl index 9136c32..ea17307 100644 --- a/src/templates/banknotes-codes.html.tmpl +++ b/src/templates/banknotes-codes.html.tmpl @@ -312,7 +312,7 @@ {{ $p.GetN "{N} Euro" "{N} Euro" $d $args }} {{ -- cgit v1.2.3