mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-14 17:52:28 +08:00
fix: fix unused parameters vet issue
This commit is contained in:
@@ -47,7 +47,7 @@ func TestBefore(t *testing.T) {
|
|||||||
|
|
||||||
var res []int64
|
var res []int64
|
||||||
type cb func(args ...any) []reflect.Value
|
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)
|
v := fn(i)
|
||||||
res = append(res, v[0].Int())
|
res = append(res, v[0].Int())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user