remove dependencies
This commit is contained in:
parent
b808ce30cb
commit
1656b91e3b
107 changed files with 567 additions and 7772 deletions
|
|
@ -11,7 +11,6 @@ import (
|
|||
"net"
|
||||
"net/http"
|
||||
"net/http/httputil"
|
||||
"net/url"
|
||||
neturl "net/url"
|
||||
"os"
|
||||
"strings"
|
||||
|
|
@ -38,7 +37,7 @@ type ClientOption func(*Client)
|
|||
|
||||
func WithEndpoint(endpoint string) ClientOption {
|
||||
return func(client *Client) {
|
||||
u, err := url.Parse(endpoint)
|
||||
u, err := neturl.Parse(endpoint)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue