From ef32a3e5574962c4959ba77b674e25793da4a3b7 Mon Sep 17 00:00:00 2001 From: Md Mushfiqur Rahim <20mahin2020@gmail.com> Date: Wed, 3 Jun 2026 20:02:26 -0700 Subject: [PATCH] refactor: replace interface{} with any (Go 1.18+) --- migrate.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migrate.go b/migrate.go index d08e22b4..2152d8e4 100644 --- a/migrate.go +++ b/migrate.go @@ -435,9 +435,9 @@ func ParseMigration(id string, r io.ReadSeeker) (*Migration, error) { } type SqlExecutor interface { - Exec(query string, args ...interface{}) (sql.Result, error) - Insert(list ...interface{}) error - Delete(list ...interface{}) (int64, error) + Exec(query string, args ...any) (sql.Result, error) + Insert(list ...any) error + Delete(list ...any) (int64, error) } // Execute a set of migrations