Skip to content

Add golangci-lint

Add golangci-lint #257

Triggered via pull request September 19, 2024 10:52
@gnvkgnvk
synchronize #304
golangci-lint
Status Failure
Total duration 29s
Artifacts

go.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build (1.19): examples/long-short/long-short.go#L12
could not import github.com/alpacahq/alpaca-trade-api-go/v3/alpaca (-: # github.com/alpacahq/alpaca-trade-api-go/v3/alpaca
build (1.19): alpaca/rest.go#L377
undefined: errors.Join) (typecheck)
build (1.19): examples/marketdata/marketdata.go#L153
s.LatestTrade undefined (type snap has no field or method LatestTrade) (typecheck)
build (1.19): examples/marketdata/marketdata.go#L154
s.LatestTrade undefined (type snap has no field or method LatestTrade) (typecheck)
build (1.19): examples/marketdata/marketdata.go#L157
s.LatestTrade undefined (type snap has no field or method LatestTrade) (typecheck)
build (1.19): examples/marketdata/marketdata.go#L158
s.LatestTrade undefined (type snap has no field or method LatestTrade) (typecheck)
build (1.19): examples/marketdata/marketdata.go#L161
s.LatestQuote undefined (type snap has no field or method LatestQuote) (typecheck)
build (1.19): examples/marketdata/marketdata.go#L162
s.LatestQuote undefined (type snap has no field or method LatestQuote) (typecheck)
build (1.19): examples/marketdata/marketdata.go#L163
s.LatestQuote undefined (type snap has no field or method LatestQuote) (typecheck)
build (1.19): examples/marketdata/marketdata.go#L166
s.ImpliedVolatility undefined (type snap has no field or method ImpliedVolatility) (typecheck)