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

大佬 这 #8

Open
ghost opened this issue Jun 5, 2023 · 3 comments
Open

大佬 这 #8

ghost opened this issue Jun 5, 2023 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 5, 2023

/root/go/pkg/mod/github.com/qichengzx/bitcask@v0.0.0-20230307075929-4216104db9e3/db_file.go:178:34: undefined: os.DirEntry
/root/go/pkg/mod/github.com/qichengzx/bitcask@v0.0.0-20230307075929-4216104db9e3/db_file.go:179:16: undefined: os.ReadDir
/root/go/pkg/mod/github.com/qichengzx/bitcask@v0.0.0-20230307075929-4216104db9e3/db_file.go:183:14: undefined: os.DirEntry

@qichengzx
Copy link
Owner

本地go是什么版本呢

@ghost
Copy link
Author

ghost commented Jun 5, 2023 via email

@qichengzx
Copy link
Owner

报错是因为Go版本过低,没有这几个新增的type,需要升级到1.16以上

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

1 participant