whatwewant / chatgpt-for-chatbot-feishu

快速将 ChatGPT 接入飞书,基于 OpenAI 官方接口,作为私人工作助理或者企业员工助理
https://github.com/go-zoox/chatgpt-for-chatbot-feishu
MIT License
320 stars 45 forks source link

支持go 1.18 编译 #41

Closed trevorwang closed 1 year ago

trevorwang commented 1 year ago

go 1.18 编译问题

➜  code git:(master) ✗ go version
go version go1.18 darwin/arm64
➜  code git:(master) ✗ go build
# github.com/go-zoox/feishu/message/content
../../../../go/pkg/mod/github.com/go-zoox/feishu@v1.3.9/message/content/content.go:4:16: interface contains type constraints