v2: initial commit #2
deploy.yml
on: push
Annotations
20 errors
Lint (old):
pkg/connector/backfill.go#L55
conversion from int64 to PaginationCursor (string) yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
|
Lint (old):
pkg/connector/client.go#L69
this value of err is never used (SA4006)
|
Lint (old):
pkg/connector/client.go#L139
func (*LinkedInClient).convertEditToMatrix is unused (U1000)
|
Lint (old):
pkg/connector/client_sync.go#L16
func (*LinkedInClient).syncChannels is unused (U1000)
|
Lint (old):
pkg/connector/client_sync.go#L35
should omit comparison to bool constant, can be simplified to hasMore (S1002)
|
Lint (old):
pkg/connector/client_sync.go#L64
unnecessary assignment to the blank identifier (S1005)
|
Lint (old):
pkg/connector/login.go#L92
this value of err is never used (SA4006)
|
Lint (old):
pkg/connector/mapping.go#L199
this value of attachmentSize is never used (SA4006)
|
Lint (old):
pkg/connector/mapping.go#L212
this value of attachmentSize is never used (SA4006)
|
Lint (old):
pkg/linkedingo/client.go#L147
c.http.Transport.(*http.Transport).Dial has been deprecated since Go 1.7: Use DialContext instead, which allows the transport to cancel dials as soon as they are no longer needed. If both are set, DialContext takes priority. (SA1019)
|
Lint (latest):
pkg/connector/backfill.go#L55
conversion from int64 to PaginationCursor (string) yields a string of one rune, not a string of digits
|
Lint (latest):
pkg/connector/client.go#L69
this value of err is never used (SA4006)
|
Lint (latest):
pkg/connector/client.go#L139
func (*LinkedInClient).convertEditToMatrix is unused (U1000)
|
Lint (latest):
pkg/connector/client_sync.go#L16
func (*LinkedInClient).syncChannels is unused (U1000)
|
Lint (latest):
pkg/connector/client_sync.go#L35
should omit comparison to bool constant, can be simplified to hasMore (S1002)
|
Lint (latest):
pkg/connector/client_sync.go#L64
unnecessary assignment to the blank identifier (S1005)
|
Lint (latest):
pkg/connector/login.go#L92
this value of err is never used (SA4006)
|
Lint (latest):
pkg/connector/mapping.go#L199
this value of attachmentSize is never used (SA4006)
|
Lint (latest):
pkg/connector/mapping.go#L212
this value of attachmentSize is never used (SA4006)
|
Lint (latest):
pkg/linkedingo/client.go#L147
c.http.Transport.(*http.Transport).Dial has been deprecated since Go 1.7: Use DialContext instead, which allows the transport to cancel dials as soon as they are no longer needed. If both are set, DialContext takes priority. (SA1019)
|