go fmt
This commit is contained in:
@@ -17,7 +17,9 @@ func Connect(options map[string] string) (c *conn, err error) {
|
|||||||
|
|
||||||
if socket, present = options["socket"]; present {
|
if socket, present = options["socket"]; present {
|
||||||
c.conn, err = net.Dial("unix", socket)
|
c.conn, err = net.Dial("unix", socket)
|
||||||
if err != nil { return nil, err }
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// conn, err := net.Dial("tcp", "localhost:5432")
|
// conn, err := net.Dial("tcp", "localhost:5432")
|
||||||
|
|||||||
Reference in New Issue
Block a user