From 08297d68318d2165fc645754762dcddce42efbe2 Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 19 Aug 2019 17:35:57 +0200 Subject: converted Classification to a string --- convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'convert.go') 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, -- cgit 1.4.1