Mac Build Error
zwluoqi opened this issue · comments
in win11 is working,
but in my mac
OS:12.6.2 Monterey
GO:go1.20.4 darwin/amd64
go build .
package github.com/acheong08/ChatGPT-Proxy-V4
imports github.com/acheong08/endless
imports github.com/acheong08/endless/signals: build constraints exclude all Go files in /Users/zhouwei/go/pkg/mod/github.com/acheong08/endless@v0.0.0-20230522010333-1359fd84c836/signals
use leatest released code can working。
https://github.com/acheong08/ChatGPT-Proxy-V4/releases
What helped me is specifying build tag, in rep folder:
go build --tags=macos .
Fixed in e6c9cba