fix golint errors

This commit is contained in:
2018-07-30 10:08:35 +02:00
parent 91df4845ea
commit 17ca4cbf14
4 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ import (
func (c *Client) baseRequest(route *url.URL, name string, subroute string, ro *req.RequestOptions, method string) (*req.Response, error) {
if !c.loggedIn() {
return nil, unauthorized
return nil, errUnauthorized
}
u := c.baseURL.ResolveReference(route)
if name != "" {