From e9380a3d9f07e68e3489dee026e4d3314c02b6d9 Mon Sep 17 00:00:00 2001 From: dudaodong Date: Fri, 1 Mar 2024 10:05:28 +0800 Subject: [PATCH] fix: fix unused parameters vet issue --- function/function_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function/function_test.go b/function/function_test.go index 4b62947..c9f3751 100644 --- a/function/function_test.go +++ b/function/function_test.go @@ -47,7 +47,7 @@ func TestBefore(t *testing.T) { var res []int64 type cb func(args ...any) []reflect.Value - appendStr := func(i int, s string, fn cb) { + appendStr := func(i int, _ string, fn cb) { v := fn(i) res = append(res, v[0].Int()) }