about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--TLE.go2
-rw-r--r--convert.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/TLE.go b/TLE.go
index 967e762..117a8a4 100644
--- a/TLE.go
+++ b/TLE.go
@@ -75,7 +75,7 @@ type InternationalDesignator struct {
 	Launchnumber int `json:"launchnumber"`
 
 	// Piece of the launch
-	Launchpiece rune `json:"launchpiece"`
+	Launchpiece string `json:"launchpiece"`
 }
 
 // Epoch defines a moment in time
diff --git a/convert.go b/convert.go
index 837e478..e8e2def 100644
--- a/convert.go
+++ b/convert.go
@@ -114,7 +114,7 @@ func NewTLE(RawTLE string) (TLE, error) {
 			InternationalDesignator: InternationalDesignator{
 				Launchyear:   int8(LaunchYear),
 				Launchnumber: LaunchNumber,
-				Launchpiece:  rune(SplitTLE[1][14]),
+				Launchpiece:  string(SplitTLE[1][14]),
 			},
 			Epoch: Epoch{
 				Year:        int8(EpochYear),