thrasher-corp / gocryptotrader

A cryptocurrency trading bot and framework supporting multiple exchanges written in Golang.
MIT License
2.99k stars 802 forks source link

go: Fix darwin/arm64: toolchain not available version directive #1523

Closed gemscng closed 5 months ago

gemscng commented 5 months ago

PR Description

go build will give following error.

go: download go1.22 for darwin/arm64: toolchain not available

Type of change

Refer to this solution https://github.com/golang/go/issues/65568#issuecomment-1954876836

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 36.00%. Comparing base (c967d8a) to head (0ef9d8f).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/thrasher-corp/gocryptotrader/pull/1523/graphs/tree.svg?width=650&height=150&src=pr&token=41784B23TS&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thrasher-corp)](https://app.codecov.io/gh/thrasher-corp/gocryptotrader/pull/1523?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thrasher-corp) ```diff @@ Coverage Diff @@ ## master #1523 +/- ## ========================================== - Coverage 36.04% 36.00% -0.05% ========================================== Files 411 411 Lines 176906 176906 ========================================== - Hits 63774 63698 -76 - Misses 105351 105417 +66 - Partials 7781 7791 +10 ``` [see 19 files with indirect coverage changes](https://app.codecov.io/gh/thrasher-corp/gocryptotrader/pull/1523/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thrasher-corp)