package
Version:
v0.0.0-...-9f630e6
Opens a new window with list of versions in this module.
Published: May 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type XMLConcept struct {
Code string `xml:"Code,attr"`
CodeUC string `xml:"CODE,attr"`
Name []string `xml:"name"`
PrintSymbol string `xml:"printSymbol"`
}
type XMLFunction struct {
Name string `xml:"name,attr"`
Value float64 `xml:"value,attr"`
Unit string `xml:"Unit,attr"`
}
type XMLRoot struct {
Version string `xml:"version,attr"`
Revision string `xml:"revision,attr"`
RevisionDate string `xml:"revision-date,attr"`
Prefixes []XMLPrefix `xml:"prefix"`
BaseUnits []XMLBaseUnit `xml:"base-unit"`
Units []XMLUnit `xml:"unit"`
}
type XMLUnit struct {
XMLConcept
Class string `xml:"class,attr"`
IsSpecial string `xml:"isSpecial,attr"`
IsArbitrary string `xml:"isArbitrary,attr"`
Metric string `xml:"isMetric,attr"`
Property string `xml:"property"`
Value XMLValue `xml:"value"`
}
type XMLValue struct {
Unit string `xml:"Unit,attr"`
Value *big.Rat `xml:"value,attr"`
Function XMLFunction `xml:"function"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.