File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -18,23 +18,23 @@ import (
18
18
)
19
19
20
20
const (
21
- TLS_CONFIG_KEY = "ghost"
21
+ TLS_CONFIG_KEY = "ghost"
22
22
)
23
23
24
24
// ConnectionConfig is the minimal configuration required to connect to a MySQL server
25
25
type ConnectionConfig struct {
26
- Key InstanceKey
27
- User string
28
- Password string
29
- ImpliedKey * InstanceKey
30
- tlsConfig * tls.Config
31
- Timeout float64
26
+ Key InstanceKey
27
+ User string
28
+ Password string
29
+ ImpliedKey * InstanceKey
30
+ tlsConfig * tls.Config
31
+ Timeout float64
32
32
transactionIsolation string
33
33
}
34
34
35
35
func NewConnectionConfig (transactionIsolation string ) * ConnectionConfig {
36
36
config := & ConnectionConfig {
37
- Key : InstanceKey {},
37
+ Key : InstanceKey {},
38
38
transactionIsolation : transactionIsolation ,
39
39
}
40
40
config .ImpliedKey = & config .Key
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ const (
17
17
transactionIsolation = "REPEATABLE-READ"
18
18
)
19
19
20
-
21
20
func init () {
22
21
log .SetLevel (log .ERROR )
23
22
}
You can’t perform that action at this time.
0 commit comments