diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2024-01-25 22:36:27 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2024-01-25 22:55:22 +0900 |
commit | 1f0dc0a0ef47f41637c51ac0b17d3679f6527a3f (patch) | |
tree | e6f6e834fc359c3a88d6131dbbf568e197197675 /static_mock.go | |
parent | update go version to 1.19 (diff) | |
download | golite-1f0dc0a0ef47f41637c51ac0b17d3679f6527a3f.tar.gz golite-1f0dc0a0ef47f41637c51ac0b17d3679f6527a3f.tar.xz |
go fmt ./...
Diffstat (limited to 'static_mock.go')
-rw-r--r-- | static_mock.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/static_mock.go b/static_mock.go index 59c2444..d2c5a27 100644 --- a/static_mock.go +++ b/static_mock.go @@ -3,6 +3,7 @@ // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file. +//go:build !cgo // +build !cgo package sqlite3 @@ -28,10 +29,10 @@ type ( ) func (SQLiteDriver) Open(s string) (driver.Conn, error) { return nil, errorMsg } -func (c *SQLiteConn) RegisterAggregator(string, any, 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, any, 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)) {} |