Skip to content

Commit 974314f

Browse files
authored
DE-1363 Fix Go Report Card issues (#120)
1 parent c0799ad commit 974314f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

http_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"sync"
99
)
1010

11-
// HTTPClient is a wrapper arround http.Client
11+
// HTTPClient is a wrapper around http.Client
1212
type HTTPClient struct {
1313
client *http.Client
1414
apiKeyPublic string

http_client_mock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (c *HTTPClientMock) With(headers map[string]string) HTTPClientInterface {
7373
return c
7474
}
7575

76-
// Read allow you to bind the response recieved through the underlying http client
76+
// Read allow you to bind the response received through the underlying http client
7777
func (c *HTTPClientMock) Read(response interface{}) HTTPClientInterface {
7878
c.fx.Read(response)
7979
return c

tests/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func testSendMail() {
167167
FromEmail: data[0].Email,
168168
FromName: data[0].Name,
169169
Recipients: []mailjet.Recipient{
170-
mailjet.Recipient{
170+
{
171171
Email: data[0].Email,
172172
},
173173
},

0 commit comments

Comments
 (0)