Skip to content

Commit

Permalink
Merge pull request #50 from rodorgas/patch-1
Browse files Browse the repository at this point in the history
Fix typo on comment (and docs)
  • Loading branch information
h2non authored Feb 17, 2020
2 parents 8a68cb4 + a5ac1fc commit 8bf8c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (c *Client) SetHeaders(fields map[string]string) *Client {
return c
}

// AddCookie sets a new cookie field bsaed on the given http.Cookie struct
// AddCookie sets a new cookie field based on the given http.Cookie struct
// without overwriting any existent cookie.
func (c *Client) AddCookie(cookie *http.Cookie) *Client {
c.Use(cookies.Add(cookie))
Expand Down

0 comments on commit 8bf8c8b

Please sign in to comment.