From 6c104d771e382f499025a35b10f39d997ce83b7d Mon Sep 17 00:00:00 2001 From: Gabriel Marin Date: Tue, 11 Mar 2025 07:24:54 +0200 Subject: Change 'interface{}' to 'any' (#4308) --- src/terminal_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/terminal_test.go') diff --git a/src/terminal_test.go b/src/terminal_test.go index 4d55d80e..1d50767b 100644 --- a/src/terminal_test.go +++ b/src/terminal_test.go @@ -565,7 +565,7 @@ func (item *Item) String() string { } // Helper function to parse, execute and convert "text/template" to string. Panics on error. -func templateToString(format string, data interface{}) string { +func templateToString(format string, data any) string { bb := &bytes.Buffer{} err := template.Must(template.New("").Parse(format)).Execute(bb, data) -- cgit v1.2.3