From 45a56c2115b39d097912d9d325a46c4dd4ec8533 Mon Sep 17 00:00:00 2001 From: Christoph Polcin Date: Fri, 13 Jul 2018 12:11:56 +0200 Subject: [PATCH] cmd: remove Connect() due to #16 --- cmd/gowebdav/main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/gowebdav/main.go b/cmd/gowebdav/main.go index c5fe1ec..cf0e945 100644 --- a/cmd/gowebdav/main.go +++ b/cmd/gowebdav/main.go @@ -50,9 +50,6 @@ func main() { } c := d.NewClient(*root, *usr, *pw) - if err := c.Connect(); err != nil { - fail(fmt.Sprintf("Failed to connect due to: %s", err.Error())) - } cmd := getCmd(*method)