摘要:
原文: https://studygolang.com/articles/2271 package main import ( "fmt" "strings" "log" ) func main() { reader := strings.NewReader("Go语言学习园地") reader.S 阅读全文
摘要:
原文:https://blog.csdn.net/cywosp/article/details/8767327 结合 https://github.com/boltdb/bolt.git boltdb源码看,就能发现它里面就用了fdatasync函数,来确保修改确实成功写入了磁盘。 传统的UNIX实 阅读全文