mirror of
https://github.com/anchore/syft.git
synced 2026-11-02 07:26:34 +01:00
chore(deps): update Go version (#4773)
Signed-off-by: anchore-oss-update-bot <anchore-oss-update-bot@users.noreply.github.com> Co-authored-by: anchore-oss-update-bot <anchore-oss-update-bot@users.noreply.github.com>
This commit is contained in:
co-authored by
anchore-oss-update-bot
parent
26e87c7cd3
commit
5b58ec96b7
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
// Tprintf renders a string from a given template string and field values
|
||||
func Tprintf(tmpl string, data map[string]interface{}) string {
|
||||
func Tprintf(tmpl string, data map[string]any) string {
|
||||
t := template.Must(template.New("").Parse(tmpl))
|
||||
buf := &bytes.Buffer{}
|
||||
if err := t.Execute(buf, data); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user