mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 05:45:46 +00:00
d113f0e690
These types are used as values (not pointers) in other structs. Using a pointer receiver causes problems when the value is printed. fmt will not call the String method if it is passed a value and the String method has a pointer receiver. By using a value receiver the correct string is printed. Also remove some unused methods.