first commit

This commit is contained in:
2025-10-11 16:28:39 +05:30
commit 059dcda680
23 changed files with 21984 additions and 0 deletions

22
solar.go Normal file
View File

@@ -0,0 +1,22 @@
package main
import (
"encoding/xml"
)
type SolarData struct {
SolarFlux string `xml:"solarflux"`
Sunspots string `xml:"sunspots"`
AIndex string `xml:"aindex"`
KIndex string `xml:"kindex"`
SolarWind string `xml:"solarwind"`
HeliumLine string `xml:"heliumline"`
ProtonFlux string `xml:"protonflux"`
GeomagField string `xml:"geomagfield"`
Updated string `xml:"updated"`
}
type SolarXML struct {
XMLName xml.Name `xml:"solar"`
Data SolarData `xml:"solardata"`
}