Replace interface{} with any
This commit is contained in:
+2
-2
@@ -8,8 +8,8 @@ import (
|
||||
"github.com/jackc/pgx/v5/pgxtest"
|
||||
)
|
||||
|
||||
func isExpectedEqPath(a interface{}) func(interface{}) bool {
|
||||
return func(v interface{}) bool {
|
||||
func isExpectedEqPath(a any) func(any) bool {
|
||||
return func(v any) bool {
|
||||
ap := a.(pgtype.Path)
|
||||
vp := v.(pgtype.Path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user