diff --git a/README.md b/README.md index 92a4ce2..268e625 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ func main() { ClientAuth: tls.RequestClientCert, } - if err = ftp.AuthTLS(config); err != nil { + if err = ftp.AuthTLS(&config); err != nil { panic(err) }