Skip to content

Commit

Permalink
R: review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aki-0421 committed Apr 4, 2023
1 parent bed0897 commit 79014c2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cloudflare/fetch/client.go
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
package fetch

import (
"net/http"
"syscall/js"

"github.com/syumai/workers/internal/jsutil"
)

// Client is an HTTP client.
type Client struct {
*http.Client

// namespace - Objects that Fetch API belongs to. Default is Global
namespace js.Value
}

// NewClient returns new Client
func NewClient() *Client {
return &Client{
Client: &http.Client{},
namespace: jsutil.Global,
}
}

0 comments on commit 79014c2

Please sign in to comment.