文件名称:jleveldb:jleveldb
文件大小:211KB
文件格式:ZIP
更新时间:2024-05-07 06:47:48
golang levedb golevedb Go
JLevel数据库 JLevelDB是基于的中的的 要求 转到1.16或更高版本 可用性 执照 例子 创建或打开数据库: // The returned DB instance is safe for concurrent use. Which mean that all // DB's methods may be called concurrently from multiple goroutine. db , err := leveldb . OpenFile ( "path/to/db" , nil ) ... defer db . Close () ... 读取或修改数据库内容: // Remember that the contents of the returned slice should not be modified. data , err := db . Ge