Use the debug.auto_max_procs config value or the CORE_DEBUG_AUTO_MAX_PROCS environment variable. Set it to "true" to enable this feature.
multierr

multierr allows combining one or more Go errors together.
Installation
go get -u go.uber.org/multierr
Status
Stable: No breaking changes will be made before 2.0.
Released under the MIT License.