使用了buffer,这个神奇东东。
var w io.WriteCloser // initialise writer defer w.Close() b := bufio.NewWriter(w) defer b.Flush() // write operations
2023-12-23 20:56:39
使用了buffer,这个神奇东东。
var w io.WriteCloser // initialise writer defer w.Close() b := bufio.NewWriter(w) defer b.Flush() // write operations