aboutsummaryrefslogtreecommitdiff
path: root/static_mock.go
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2024-01-25 22:36:00 +0900
committermattn <mattn.jp@gmail.com>2024-01-25 22:55:22 +0900
commitc91bca4fb499831d1bf62fb2b3019338d5a3eb41 (patch)
treeeb8952f7b7c394790c620a65c20c74189f1fcb47 /static_mock.go
parentFix musl build (#1164) (diff)
downloadgolite-c91bca4fb499831d1bf62fb2b3019338d5a3eb41.tar.gz
golite-c91bca4fb499831d1bf62fb2b3019338d5a3eb41.tar.xz
update go version to 1.19
Diffstat (limited to 'static_mock.go')
-rw-r--r--static_mock.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/static_mock.go b/static_mock.go
index f19e842..59c2444 100644
--- a/static_mock.go
+++ b/static_mock.go
@@ -28,10 +28,10 @@ type (
)
func (SQLiteDriver) Open(s string) (driver.Conn, error) { return nil, errorMsg }
-func (c *SQLiteConn) RegisterAggregator(string, interface{}, bool) error { return errorMsg }
+func (c *SQLiteConn) RegisterAggregator(string, any, bool) error { return errorMsg }
func (c *SQLiteConn) RegisterAuthorizer(func(int, string, string, string) int) {}
func (c *SQLiteConn) RegisterCollation(string, func(string, string) int) error { return errorMsg }
func (c *SQLiteConn) RegisterCommitHook(func() int) {}
-func (c *SQLiteConn) RegisterFunc(string, interface{}, bool) error { return errorMsg }
+func (c *SQLiteConn) RegisterFunc(string, any, bool) error { return errorMsg }
func (c *SQLiteConn) RegisterRollbackHook(func()) {}
func (c *SQLiteConn) RegisterUpdateHook(func(int, string, string, int64)) {}