qichengzx/bitcask

大佬 这

Opened this issue · 3 comments

/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

本地go是什么版本呢

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