Normalize code whitespace.
parent
654ecca4c5
commit
65ccba4d66
|
@ -50,11 +50,10 @@ func NewClient(h *http.Client) Client {
|
|||
|
||||
// SetToken Set the authentication token
|
||||
// Calling this method is *optional*
|
||||
func (c* client) SetToken(authToken string) {
|
||||
c.AuthToken=authToken
|
||||
func (c *client) SetToken(authToken string) {
|
||||
c.AuthToken = authToken
|
||||
}
|
||||
|
||||
|
||||
func (c *client) req(path string, pathValues ...interface{}) request {
|
||||
return request{c, fmt.Sprintf(path, pathValues...), url.Values{}}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue