Skip to content

Commit ccf5b2e

Browse files
committed
gofmt
1 parent 3ee667a commit ccf5b2e

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

go/mysql/connection.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ import (
1818
)
1919

2020
const (
21-
TLS_CONFIG_KEY = "ghost"
21+
TLS_CONFIG_KEY = "ghost"
2222
)
2323

2424
// ConnectionConfig is the minimal configuration required to connect to a MySQL server
2525
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
3232
transactionIsolation string
3333
}
3434

3535
func NewConnectionConfig(transactionIsolation string) *ConnectionConfig {
3636
config := &ConnectionConfig{
37-
Key: InstanceKey{},
37+
Key: InstanceKey{},
3838
transactionIsolation: transactionIsolation,
3939
}
4040
config.ImpliedKey = &config.Key

go/mysql/connection_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const (
1717
transactionIsolation = "REPEATABLE-READ"
1818
)
1919

20-
2120
func init() {
2221
log.SetLevel(log.ERROR)
2322
}

0 commit comments

Comments
 (0)