はじめに製造エネルギー事業部の辻です。Go1.25 リリース連載 の3本目です。 マイナーアップデートから sync パッケージを取り上げて紹介します。 アップデートサマリ The new method on WaitGroup, WaitGroup.Go, makes the common pattern of creating and counting goroutines more convenient. https://go.dev/doc/go1.25#syncpkgsync sync パッケージに新しく WaitGroup.Go() というメソッドが追加されました。ゴルーチンの生成と完了を集計する一般的なパターンを便利に記述できるようになりました。 var wg sync.WaitGroup tasks := []string{"task 1", "task 2", "task