Skip to content

Commit 2d90e22

Browse files
committed
Gofmt whitespace fixes
1 parent 80d3642 commit 2d90e22

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ func (c *Client) newRequest(method, endpoint string, in interface{}) (*http.Requ
125125
bodyreader = newbodyreader
126126
}
127127

128-
finalEndpoint := c.Endpoint+endpoint
129-
if !strings.HasSuffix(endpoint, "/") {
128+
finalEndpoint := c.Endpoint + endpoint
129+
if !strings.HasSuffix(endpoint, "/") {
130130
finalEndpoint = finalEndpoint + "/"
131131
}
132132

stat.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ func (o *statRequest) ToQueryString() string {
2727
query.Add("stat", string(o.Stat))
2828
query.Add("since", strconv.FormatInt(o.Since, 10))
2929
query.Add("until", strconv.FormatInt(o.Until, 10))
30-
30+
3131
if o.Resolution != nil {
32-
query.Add("resolution", string(*o.Resolution))
32+
query.Add("resolution", string(*o.Resolution))
3333
}
34-
34+
3535
return query.Encode()
3636
}
3737

0 commit comments

Comments
 (0)