Skip to content

Commit

Permalink
add comments back to NewClientParams struct
Browse files Browse the repository at this point in the history
  • Loading branch information
austin-denoble committed May 15, 2024
1 parent e6ba260 commit fc13ea1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pinecone/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ type Client struct {
sourceTag string
}

type NewClientBaseParams struct {
Headers map[string]string
Host string
RestClient *http.Client
SourceTag string
type NewClientParams struct {
ApiKey string // required
Headers map[string]string // optional
Host string // optional
RestClient *http.Client // optional
SourceTag string // optional
}

type NewClientParams struct {
ApiKey string
type NewClientBaseParams struct {
Headers map[string]string
Host string
RestClient *http.Client
Expand Down

0 comments on commit fc13ea1

Please sign in to comment.