Add methods to flair service, fix comment typo

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-09-08 20:00:44 -04:00
parent 8458fb4c98
commit ea2b3f138e
3 changed files with 151 additions and 4 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ func (c *Client) UserAgent() string {
}
// NewRequest creates an API request with a JSON body.
// The path is the relative URL which will be resolves to the BaseURL of the Client.
// The path is the relative URL which will be resolved to the BaseURL of the Client.
// It should always be specified without a preceding slash.
func (c *Client) NewRequest(method string, path string, body interface{}) (*http.Request, error) {
u, err := c.BaseURL.Parse(path)