about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-08-18 20:50:05 +0200
committerEmile <hanemile@protonmail.com>2019-08-18 20:50:05 +0200
commitf583a351fedd769570808ce6a80842f20427dec6 (patch)
tree7c5d17fc6ccd568750666d2cdb0586012a2c54dd
parent587feea7f35c17e28b05ff3fccac579bfc67e10b (diff)
named the lines correctly
-rw-r--r--TLE.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/TLE.go b/TLE.go
index 5d6630f..6a201ef 100644
--- a/TLE.go
+++ b/TLE.go
@@ -9,7 +9,7 @@ type tlebytes struct {
 	TitleLine struct {
 		Satname [24]byte `json:"satname"`
 	} `json:"titleline"`
-	TitleLine struct {
+	LineOne struct {
 		Linenumber              [1]byte `json:"linenumber"`
 		Satellitenumber         [5]byte `json:"satellitenumber"`
 		Classification          [1]byte `json:"classification"`
@@ -29,7 +29,7 @@ type tlebytes struct {
 		ElementSetNumber [4]byte  `json:"elementesetnumber"`
 		Checksum         [1]byte  `json:"checksum"`
 	} `json:"lineone"`
-	TitleLine struct {
+	LineTwo struct {
 		Linenumber                       [1]byte  `json:"linenumber"`
 		Satellitenumber                  [5]byte  `json:"satellitenumber"`
 		Inclination                      [8]byte  `json:"inclination"`