This commit makes the library thread safe by adding a local sync.Mutex
in the mock client and implementing all themock.Mock methods that use
the internal (and not published) sync.Mutex
Before this commit, all the tests run with the -race flag using this
library would fail
This commit makes the library thread safe by adding a local
sync.Mutex
in the mock client and implementing all themock.Mock
methods that use the internal (and not published)sync.Mutex
Before this commit, all the tests run with the
-race
flag using this library would failSigned-off-by: Néfix Estrada nefixestrada@gmail.com
This change is