first commit

This commit is contained in:
2026-03-17 20:20:23 +01:00
commit 354c7a9d99
32 changed files with 3253 additions and 0 deletions

20
internal/solar/solar.go Normal file
View File

@@ -0,0 +1,20 @@
package solar
import "encoding/xml"
type Data struct {
SolarFlux string `xml:"solarflux" json:"solarFlux"`
Sunspots string `xml:"sunspots" json:"sunspots"`
AIndex string `xml:"aindex" json:"aIndex"`
KIndex string `xml:"kindex" json:"kIndex"`
SolarWind string `xml:"solarwind" json:"solarWind"`
HeliumLine string `xml:"heliumline" json:"heliumLine"`
ProtonFlux string `xml:"protonflux" json:"protonFlux"`
GeomagField string `xml:"geomagfield" json:"geomagField"`
Updated string `xml:"updated" json:"updated"`
}
type XML struct {
XMLName xml.Name `xml:"solar"`
Data Data `xml:"solardata"`
}