REFACTOR: [xalign] refactor detector #4269
Annotations
10 errors and 1 warning
lint:
pkg/strategy/autoborrow/strategy.go#L125
invalid operation: s.MarginRepayAlert != nil (mismatched types struct{Slack *slackalert.SlackAlert "json:\"slack,omitempty\""} and untyped nil)
|
lint:
pkg/strategy/autoborrow/strategy.go#L130
s.MarginRepayAlert.Mentions undefined (type struct{Slack *slackalert.SlackAlert "json:\"slack,omitempty\""} has no field or method Mentions)
|
lint:
pkg/strategy/autoborrow/strategy.go#L234
invalid operation: s.MarginRepayAlert != nil (mismatched types struct{Slack *slackalert.SlackAlert "json:\"slack,omitempty\""} and untyped nil)
|
lint:
pkg/strategy/autoborrow/strategy.go#L239
s.MarginRepayAlert.Mentions undefined (type struct{Slack *slackalert.SlackAlert "json:\"slack,omitempty\""} has no field or method Mentions) (typecheck)
|
lint:
pkg/cmd/strategy/builtin.go#L7
could not import github.com/c9s/bbgo/pkg/strategy/autoborrow (-: # github.com/c9s/bbgo/pkg/strategy/autoborrow
|
lint:
pkg/strategy/autoborrow/strategy.go#L125
invalid operation: s.MarginRepayAlert != nil (mismatched types struct{Slack *slackalert.SlackAlert "json:\"slack,omitempty\""} and untyped nil)
|
lint:
pkg/strategy/autoborrow/strategy.go#L130
s.MarginRepayAlert.Mentions undefined (type struct{Slack *slackalert.SlackAlert "json:\"slack,omitempty\""} has no field or method Mentions)
|
lint:
pkg/strategy/autoborrow/strategy.go#L234
invalid operation: s.MarginRepayAlert != nil (mismatched types struct{Slack *slackalert.SlackAlert "json:\"slack,omitempty\""} and untyped nil)
|
lint:
pkg/strategy/autoborrow/strategy.go#L239
s.MarginRepayAlert.Mentions undefined (type struct{Slack *slackalert.SlackAlert "json:\"slack,omitempty\""} has no field or method Mentions)) (typecheck)
|
lint:
cmd/bbgo-webview/main.go#L14
could not import github.com/webview/webview (-: go build github.com/webview/webview:
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|