forked from TrueCloudLab/frostfs-api-go
[#28] Replace interface{} with any
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
e9e7901f67
commit
a3a5046ecc
8 changed files with 14 additions and 14 deletions
|
@ -12,7 +12,7 @@ import (
|
|||
func TestCodes(t *testing.T,
|
||||
localizer func(*status.Code) bool,
|
||||
globalizer func(code *status.Code),
|
||||
vals ...interface{},
|
||||
vals ...any,
|
||||
) {
|
||||
for i := 0; i < len(vals); i += 2 {
|
||||
c := vals[i].(status.Code)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue