12 2022 档案
摘要:https://github.com/json-iterator/go.git A high-performance 100% compatible drop-in replacement of "encoding/json"
阅读全文
摘要:https://github.com/Qsnh/go-laravel-broadcast
阅读全文
摘要:// main.go package main import ( "fmt" "log" "time" "github.com/gin-contrib/gzip" "github.com/gin-gonic/gin" ) func useGzip(engine *gin.Engine) { engi
阅读全文
摘要:O_RDONLY:只读模式打开文件; O_WRONLY:只写模式打开文件; O_RDWR:读写模式打开文件; O_APPEND:写操作时将数据附加到文件尾部(追加); O_CREATE:如果不存在将创建一个新文件; O_EXCL:和 O_CREATE 配合使用,文件必须不存在,否则返回一个错误; O
阅读全文