From 1f0dc0a0ef47f41637c51ac0b17d3679f6527a3f Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Thu, 25 Jan 2024 22:36:27 +0900 Subject: go fmt ./... --- static_mock.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'static_mock.go') 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)) {} -- cgit v1.2.3