fix: fix unused parameters vet issue

This commit is contained in:
dudaodong
2024-03-01 10:05:28 +08:00
parent 7290296849
commit e9380a3d9f

View File

@@ -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())
}