From 1c9975e1976ed1669f3907265d56dd71807cb148 Mon Sep 17 00:00:00 2001 From: Julien Laffaye Date: Sun, 21 Jul 2019 21:36:15 +0200 Subject: [PATCH] gofmt --- ftp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ftp.go b/ftp.go index 4d2ec86..2973d9a 100644 --- a/ftp.go +++ b/ftp.go @@ -91,7 +91,7 @@ func Dial(addr string, options ...DialOption) (*ServerConn, error) { if do.dialFunc != nil { tconn, err = do.dialFunc("tcp", addr) } else if do.tlsConfig != nil { - tconn, err = tls.DialWithDialer(&do.dialer , "tcp", addr, do.tlsConfig) + tconn, err = tls.DialWithDialer(&do.dialer, "tcp", addr, do.tlsConfig) } else { ctx := do.context @@ -188,7 +188,7 @@ func DialWithContext(ctx context.Context) DialOption { } // DialWithTLS returns a DialOption that configures the ServerConn with specified TLS config -// +// // If called together with the DialWithDialFunc option, the DialWithDialFunc function // will be used when dialing new connections but regardless of the function, // the connection will be treated as a TLS connection.