From 8311d27c2f9cf51b2e7d4c1370aef8851bffe0c1 Mon Sep 17 00:00:00 2001 From: Kasper Bentsen Date: Sat, 27 May 2017 14:37:31 +0200 Subject: [PATCH] Update README.md Readme example not working, make sure we pass a pointer. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }