mirror of
https://github.com/status-im/consul.git
synced 2025-01-24 20:51:10 +00:00
6f51984313
Embedded structs make code harder to navidate because an IDE can not show all uses of the methods of that field separate from other uses. Generally embedding of structs should only be used to satisfy an interface, and in this case the Configurator type does not need to implement the RWMutex interface.