From 3cd755d6c4753083fdfcd45b71e88100bf8f2057 Mon Sep 17 00:00:00 2001 From: Christoph Polcin Date: Sat, 14 Jul 2018 01:55:58 +0200 Subject: [PATCH] make check api --- README.md | 2 +- requests.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7c5b921..9283c76 100644 --- a/README.md +++ b/README.md @@ -337,7 +337,7 @@ func (c *Client) Write(path string, data []byte, _ os.FileMode) error ``` Write writes data to a given path -#### func (\*Client) [WriteStream](https://github.com/studio-b12/gowebdav/blob/master/client.go?s=7798:7878#L363) +#### func (\*Client) [WriteStream](https://github.com/studio-b12/gowebdav/blob/master/client.go?s=7752:7832#L364) ``` go func (c *Client) WriteStream(path string, stream io.Reader, _ os.FileMode) error ``` diff --git a/requests.go b/requests.go index 7a9981d..581c08c 100644 --- a/requests.go +++ b/requests.go @@ -5,8 +5,8 @@ import ( "fmt" "io" "net/http" - "strings" "path" + "strings" ) func (c *Client) req(method, path string, body io.Reader, intercept func(*http.Request)) (req *http.Response, err error) {