cisco / senml

Tool to convert senml between formats and act as gateway server to other services
BSD 2-Clause "Simplified" License
39 stars 15 forks source link

Invalid XML tag for Sum ? #19

Closed jfbus closed 6 years ago

jfbus commented 6 years ago

Hi,

Sum is defined as:

Sum *float64 `json:"s,omitempty"  xml:"sum,,attr,omitempty"`

Shouldn't it be?

Sum *float64 `json:"s,omitempty"  xml:"s,attr,omitempty"`

Thanks

fluffy commented 6 years ago

Nice catch, I suspect you are right. Let me look at that

fluffy commented 6 years ago

Fixed