Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不能编译 #28

Closed
doudouded opened this issue Dec 13, 2021 · 3 comments
Closed

不能编译 #28

doudouded opened this issue Dec 13, 2021 · 3 comments

Comments

@doudouded
Copy link

doudouded commented Dec 13, 2021

[root@localhost xdd]# go build

github.com/Mrs4s/go-cqhttp/internal/btree

/usr/local/go/path/pkg/mod/github.com/xiaeroc/go-cqhttp@v1.0.0-xiaeroc/internal/btree/chunk.go:36:14: undefined: unsafe.Add
/usr/local/go/path/pkg/mod/github.com/xiaeroc/go-cqhttp@v1.0.0-xiaeroc/internal/btree/chunk.go:45:27: undefined: unsafe.Add
/usr/local/go/path/pkg/mod/github.com/xiaeroc/go-cqhttp@v1.0.0-xiaeroc/internal/btree/chunk.go:109:13: undefined: unsafe.Add
/usr/local/go/path/pkg/mod/github.com/xiaeroc/go-cqhttp@v1.0.0-xiaeroc/internal/btree/chunk.go:110:13: undefined: unsafe.Add
/usr/local/go/path/pkg/mod/github.com/xiaeroc/go-cqhttp@v1.0.0-xiaeroc/internal/btree/chunk.go:111:13: undefined: unsafe.Add
/usr/local/go/path/pkg/mod/github.com/xiaeroc/go-cqhttp@v1.0.0-xiaeroc/internal/btree/helper.go:31:11: undefined: unsafe.Add
note: module requires Go 1.17

github.com/Mrs4s/MiraiGo/topic

/usr/local/go/path/pkg/mod/github.com/!mrs4s/!mirai!go@v0.0.0-20211208080234-25c67a3ee1c1/topic/feed.go:67:43: time.Now().UnixMilli undefined (type time.Time has no field or method UnixMilli)
note: module requires Go 1.17

@xiaeroc
Copy link
Owner

xiaeroc commented Dec 14, 2021

升级go版本

@xiaeroc xiaeroc closed this as completed Dec 14, 2021
@xiaeroc xiaeroc reopened this Dec 14, 2021
@xiaeroc xiaeroc closed this as completed Dec 14, 2021
@xiaeroc
Copy link
Owner

xiaeroc commented Dec 14, 2021 via email

@doudouded
Copy link
Author

好的,谢谢大佬,我试下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants