mirror of https://github.com/hashicorp/consul
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. |
||
---|---|---|
.. | ||
state.go | ||
state_test.go | ||
testing.go |