Reformat code

This commit is contained in:
2019-12-14 10:43:02 +01:00
parent ae323d1690
commit e5c81519bf
5 changed files with 30 additions and 31 deletions

View File

@ -39,8 +39,8 @@ func MqttContainer(t *testing.T) (context.Context, testcontainers.Container, str
return ctx, mqttC, mqttUri
}
func NewFakePublisher() *FakePublisher{
return &FakePublisher{msg:make(map[string]mqttdevice.MqttValue)}
func NewFakePublisher() *FakePublisher {
return &FakePublisher{msg: make(map[string]mqttdevice.MqttValue)}
}
type FakePublisher struct {
@ -103,4 +103,3 @@ func NewFakeMessage(topic string, payload []byte) mqtt.Message {
acked: false,
}
}