about summary refs log tree commit diff
path: root/TLE.go
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-08-19 17:48:03 +0200
committerEmile <hanemile@protonmail.com>2019-08-19 17:49:15 +0200
commit1e7b8f716261aee4105edadecc01acdb884c63a3 (patch)
tree1b6829cca9f247b03f1d3beba4341ea386c00856 /TLE.go
parent7adbe2591309ceece6e7d9ea0c45b214ced69baa (diff)
int8 → int
Diffstat (limited to 'TLE.go')
-rw-r--r--TLE.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/TLE.go b/TLE.go
index 117a8a4..89257ed 100644
--- a/TLE.go
+++ b/TLE.go
@@ -24,7 +24,7 @@ type TitleLine struct {
 
 // LineOne defines the first line in the TLE
 type LineOne struct {
-	Linenumber int8 `json:"linenumber"`
+	Linenumber int `json:"linenumber"`
 
 	// Catalog number defined by USSPACECOM
 	// A "U" indicates an unclassified object
@@ -56,20 +56,20 @@ type LineOne struct {
 	BSTAR float64 `json:"BSTAR"`
 
 	// The number 0 (originally this should have been "Ephemeris type")
-	Numberzero int8 `json:"numberzero"`
+	Numberzero int `json:"numberzero"`
 
 	// Element set number. Incremented when a new TLE is generated for this object.
 	ElementSetNumber int `json:"elementesetnumber"`
 
 	// Checksum (modulo 10)
-	Checksum int8 `json:"checksum"`
+	Checksum int `json:"checksum"`
 }
 
 // InternationalDesignator stores information about the satellite such as when it launched
 type InternationalDesignator struct {
 
 	// Last two digits of launch year
-	Launchyear int8 `json:"launchyear"`
+	Launchyear int `json:"launchyear"`
 
 	// Launch number of the year
 	Launchnumber int `json:"launchnumber"`
@@ -82,14 +82,14 @@ type InternationalDesignator struct {
 type Epoch struct {
 
 	// Last two digits of the year
-	Year int8 `json:"year"`
+	Year int `json:"year"`
 
 	// day of the year and fractional portion of the day
 	Dayfraction float64 `json:"dayfraction"`
 }
 
 type LineTwo struct {
-	Linenumber int8 `json:"linenumber"`
+	Linenumber int `json:"linenumber"`
 
 	// Catalog number defined by USSPACECOM
 	Satellitenumber int `json:"satellitenumber"`
@@ -131,5 +131,5 @@ type LineTwo struct {
 	RevolutionNumberAtEpoch int `json:"revolutionnumberatepoch"`
 
 	// Checksum (modulo 10)
-	Checksum int8 `json:"checksum"`
+	Checksum int `json:"checksum"`
 }