Open jorgebay opened 1 year ago
We use mockery for test mocks. Changing the signature of interfaces will require the mocks to be updated, for example:
mockery -r --case=snake \
--output=./internal/test/interbroker/mocks --name=Gossiper
mockery -r --case=snake \
--output=./internal/test/types/mocks --name=OffsetState
mockery -r --case=snake \
--output=./internal/test/data/mocks --name=Datalog
We should use a type for representing the group name that way we make sure that it doesn't get mixed with other string parameters.
For example:
and then, use the
Group
type for method signatures: