vendor: add github.com/koofr/go-koofrclient
* added koofr client SDK dep for koofr backend
This commit is contained in:
parent
27714e29c3
commit
1d14e30383
22 changed files with 1461 additions and 0 deletions
14
vendor/github.com/koofr/go-httpclient/utils.go
generated
vendored
Normal file
14
vendor/github.com/koofr/go-httpclient/utils.go
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
package httpclient
|
||||
|
||||
import (
|
||||
"net/url"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func EscapePath(path string) string {
|
||||
u := url.URL{
|
||||
Path: path,
|
||||
}
|
||||
|
||||
return strings.Replace(u.String(), "+", "%2b", -1)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue