From a0122ba8e585eb43765351cf206e319796e1d04a Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 28 Jun 2024 14:46:30 +0800 Subject: [PATCH] 1 --- mysql.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mysql.go b/mysql.go index c7a3a8c..d42da4e 100644 --- a/mysql.go +++ b/mysql.go @@ -17,7 +17,8 @@ type Mysql struct { maxIdleConns int32 } -func (this *Mysql) init(host string, port int32, user string, passwd string, database string, maxOpenConns int32, maxIdleConns int32) { +func (this *Mysql) init(host string, port int32, user string, passwd string, database string, + maxOpenConns int32, maxIdleConns int32) { this.host = host this.port = port this.user = user