hashicorp/go-multierror

Is the standard multierror.Error type thread-safe?

assembly-winston opened this issue · 1 comments

If I have a bunch of goroutines adding to the same multierror.Error type, would this cause problems if I don't wrap it with a mutex?

the behaviour will be the same like you use slice in multiple goroutines, there will be data race and cause unexpected result.