From 813a67966a4dbc65af177fa1d12a80cf968f2298 Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Sun, 11 Aug 2024 12:15:18 -0700 Subject: [PATCH] tools: update interface{} to any --- tools/jcall/jcall.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/jcall/jcall.go b/tools/jcall/jcall.go index 7b4f639..6f097da 100644 --- a/tools/jcall/jcall.go +++ b/tools/jcall/jcall.go @@ -214,7 +214,7 @@ func issueCalls(ctx context.Context, cli *jrpc2.Client, args []string) (time.Dur return issueSequential(ctx, cli, specs) } -func tprintf(msg string, args ...interface{}) { +func tprintf(msg string, args ...any) { if !*doTiming { return } @@ -278,7 +278,7 @@ func newSpecs(args []string) []jrpc2.Spec { return specs } -func param(s string) interface{} { +func param(s string) any { if s == "" { return nil }