PKGBUILD/pkg/logfile/types.go

20 lines
467 B
Go
Raw Normal View History

package logfile
2019-07-03 16:46:19 +00:00
import (
"encoding/xml"
"github.com/go-flucky/flucky/pkg/types"
)
// MeasuredValues is an XML Wrapper for an array of measured values
2019-07-03 16:46:19 +00:00
type MeasuredValues struct {
XMLName xml.Name `xml:"measured_values"`
MeasuredValues []*MeasuredValue `xml:"measured_value"`
}
// MeasuredValue is an XML Wrapper for the original measured value struct
2019-07-03 16:46:19 +00:00
type MeasuredValue struct {
XMLName xml.Name `xml:"measured_value"`
*types.MeasuredValue
}