FEATURE: [xnav] support breakdown and improve price solving logics #4356
Annotations
5 errors and 1 warning
lint:
cmd/bbgo-webview/main.go#L14
could not import github.com/webview/webview (-: go build github.com/webview/webview:
|
lint:
pkg/types/balance_test.go#L70
unknown field InUSD in struct literal of type struct{Currency string "json:\"currency\" db:\"currency\""; Total fixedpoint.Value "json:\"total\" db:\"total\""; NetAsset fixedpoint.Value "json:\"netAsset\" db:\"net_asset\""; Interest fixedpoint.Value "json:\"interest\" db:\"interest\""; NetAssetInUSD fixedpoint.Value "json:\"netAssetInUSD\" db:\"net_asset_in_usd\""; DebtInUSD fixedpoint.Value "json:\"debtInUSD\" db:\"debt_in_usd\""; InterestInUSD fixedpoint.Value "json:\"interestInUSD\" db:\"interest_in_usd\""; NetAssetInBTC fixedpoint.Value "json:\"netAssetInBTC\" db:\"net_asset_in_btc\""; Time time.Time "json:\"time\" db:\"time\""; Locked fixedpoint.Value "json:\"lock\" db:\"lock\" "; Available fixedpoint.Value "json:\"available\" db:\"available\""; Borrowed fixedpoint.Value "json:\"borrowed\" db:\"borrowed\""; PriceInUSD fixedpoint.Value "json:\"priceInUSD\" db:\"price_in_usd\""}
|
lint:
pkg/types/balance_test.go#L71
unknown field InBTC in struct literal of type struct{Currency string "json:\"currency\" db:\"currency\""; Total fixedpoint.Value "json:\"total\" db:\"total\""; NetAsset fixedpoint.Value "json:\"netAsset\" db:\"net_asset\""; Interest fixedpoint.Value "json:\"interest\" db:\"interest\""; NetAssetInUSD fixedpoint.Value "json:\"netAssetInUSD\" db:\"net_asset_in_usd\""; DebtInUSD fixedpoint.Value "json:\"debtInUSD\" db:\"debt_in_usd\""; InterestInUSD fixedpoint.Value "json:\"interestInUSD\" db:\"interest_in_usd\""; NetAssetInBTC fixedpoint.Value "json:\"netAssetInBTC\" db:\"net_asset_in_btc\""; Time time.Time "json:\"time\" db:\"time\""; Locked fixedpoint.Value "json:\"lock\" db:\"lock\" "; Available fixedpoint.Value "json:\"available\" db:\"available\""; Borrowed fixedpoint.Value "json:\"borrowed\" db:\"borrowed\""; PriceInUSD fixedpoint.Value "json:\"priceInUSD\" db:\"price_in_usd\""}
|
lint:
pkg/types/balance_test.go#L83
unknown field InUSD in struct literal of type struct{Currency string "json:\"currency\" db:\"currency\""; Total fixedpoint.Value "json:\"total\" db:\"total\""; NetAsset fixedpoint.Value "json:\"netAsset\" db:\"net_asset\""; Interest fixedpoint.Value "json:\"interest\" db:\"interest\""; NetAssetInUSD fixedpoint.Value "json:\"netAssetInUSD\" db:\"net_asset_in_usd\""; DebtInUSD fixedpoint.Value "json:\"debtInUSD\" db:\"debt_in_usd\""; InterestInUSD fixedpoint.Value "json:\"interestInUSD\" db:\"interest_in_usd\""; NetAssetInBTC fixedpoint.Value "json:\"netAssetInBTC\" db:\"net_asset_in_btc\""; Time time.Time "json:\"time\" db:\"time\""; Locked fixedpoint.Value "json:\"lock\" db:\"lock\" "; Available fixedpoint.Value "json:\"available\" db:\"available\""; Borrowed fixedpoint.Value "json:\"borrowed\" db:\"borrowed\""; PriceInUSD fixedpoint.Value "json:\"priceInUSD\" db:\"price_in_usd\""}
|
lint:
pkg/types/balance_test.go#L84
unknown field InBTC in struct literal of type struct{Currency string "json:\"currency\" db:\"currency\""; Total fixedpoint.Value "json:\"total\" db:\"total\""; NetAsset fixedpoint.Value "json:\"netAsset\" db:\"net_asset\""; Interest fixedpoint.Value "json:\"interest\" db:\"interest\""; NetAssetInUSD fixedpoint.Value "json:\"netAssetInUSD\" db:\"net_asset_in_usd\""; DebtInUSD fixedpoint.Value "json:\"debtInUSD\" db:\"debt_in_usd\""; InterestInUSD fixedpoint.Value "json:\"interestInUSD\" db:\"interest_in_usd\""; NetAssetInBTC fixedpoint.Value "json:\"netAssetInBTC\" db:\"net_asset_in_btc\""; Time time.Time "json:\"time\" db:\"time\""; Locked fixedpoint.Value "json:\"lock\" db:\"lock\" "; Available fixedpoint.Value "json:\"available\" db:\"available\""; Borrowed fixedpoint.Value "json:\"borrowed\" db:\"borrowed\""; PriceInUSD fixedpoint.Value "json:\"priceInUSD\" db:\"price_in_usd\""} (typecheck)
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|