From d431b19529f205c8dada1fca83e2d9bbf56cf1ed Mon Sep 17 00:00:00 2001 From: Aurora <57168564+15265052@users.noreply.github.com> Date: Wed, 6 Apr 2022 23:39:57 +0800 Subject: [PATCH] fix typo of DSN config in config.go (#290) --- common/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/config.go b/common/config.go index 9def954..ccb086f 100644 --- a/common/config.go +++ b/common/config.go @@ -236,7 +236,7 @@ type Dsn struct { Loc string `yaml:"loc"` // Location for time.Time values TLS string `yaml:"tls"` // TLS configuration name ServerPubKey string `yaml:"server-public-key"` // Server public key name - MaxAllowedPacket int `ymal:"max-allowed-packet"` // Max packet size allowed + MaxAllowedPacket int `yaml:"max-allowed-packet"` // Max packet size allowed Params map[string]string `yaml:"params"` // Other Connection parameters, `SET param=val`, `SET NAMES charset` Timeout string `yaml:"timeout"` // Dial timeout ReadTimeout string `yaml:"read-timeout"` // I/O read timeout -- GitLab