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) {