smallnest / rpcx

Best microservices framework in Go, like alibaba Dubbo, but with more features, Scale easily. Try it. Test it. If you feel it's better, use it! ๐‰๐š๐ฏ๐šๆœ‰๐๐ฎ๐›๐›๐จ, ๐†๐จ๐ฅ๐š๐ง๐ ๆœ‰๐ซ๐ฉ๐œ๐ฑ! build for cloud!
https://rpcx.io
Other
8.08k stars 1.16k forks source link

server start error #785

Closed fate-zx closed 1 year ago

fate-zx commented 1 year ago

D:\sys\go\pkg\mod\github.com\smallnest\rpcx@v1.8.2\server\gateway.go:67:23: cannot convert s.corsOptions (variable of type CORSOptions) to type cors.Options D:\sys\go\pkg\mod\github.com\smallnest\rpcx@v1.8.2\server\jsonrpc2.go:232:23: cannot convert s.corsOptions (variable of type CORSOptions) to type cors.Options

smallnest commented 1 year ago

nidgo.modไธญcors็š„็‰ˆๆœฌๆ˜ฏๅคšๅฐ‘

fate-zx commented 1 year ago

github.com/rs/cors v1.8.3 // indirect

fate-zx commented 1 year ago

nidgo.modไธญcors็š„็‰ˆๆœฌๆ˜ฏๅคšๅฐ‘

github.com/rs/cors v1.8.3 // indirect

ArkerX commented 1 year ago

use: go get -u github.com/rs/cors@v1.8.2

fate-zx commented 1 year ago

ไฝฟ็”จ๏ผš่Žทๅ– -u github.com/rs/cors@v1.8.2

ๅฏไปฅไบ†๏ผŒ่ฐข่ฐข