diff options
-rw-r--r-- | TLE.go | 4 | ||||
-rw-r--r-- | convert.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/TLE.go b/TLE.go index 7a7672a..967e762 100644 --- a/TLE.go +++ b/TLE.go @@ -28,8 +28,8 @@ type LineOne struct { // Catalog number defined by USSPACECOM // A "U" indicates an unclassified object - SatelliteNumber int `json:"satellitenumber"` - Classification rune `json:"classification"` + SatelliteNumber int `json:"satellitenumber"` + Classification string `json:"classification"` // International Designator containing information about the launch InternationalDesignator InternationalDesignator `json:"internationaldesignator"` diff --git a/convert.go b/convert.go index fb41fd9..837e478 100644 --- a/convert.go +++ b/convert.go @@ -110,7 +110,7 @@ func NewTLE(RawTLE string) (TLE, error) { LineOne: LineOne{ Linenumber: int8(LineOneLinenumber), SatelliteNumber: SatelliteNumber, - Classification: rune(SplitTLE[1][7]), + Classification: string(SplitTLE[1][7]), InternationalDesignator: InternationalDesignator{ Launchyear: int8(LaunchYear), Launchnumber: LaunchNumber, |