mirror of
https://github.com/duke-git/lancet.git
synced 2025-10-05 15:36:52 +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
|
||||
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())
|
||||
}
|
||||
|
Reference in New Issue
Block a user