PKGBUILD/pkg/logfile/types.go

18 lines
302 B
Go

package logfile
import (
"encoding/xml"
"github.com/go-flucky/flucky/pkg/types"
)
type Temperatures struct {
XMLName xml.Name `xml:"temperatures"`
Temperatures []*Temperature `xml:"temperature"`
}
type Temperature struct {
XMLName xml.Name `xml:"temperature"`
*types.Temperature
}