バッファ、この魔法のようなものを使用してください。
VAR io.WriteCloserワット //初期化ライター w.Close延期() B:= bufio.NewWriter(ワット) 延期b.Flush() //書き込み操作