From 1e7b8f716261aee4105edadecc01acdb884c63a3 Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 19 Aug 2019 17:48:03 +0200 Subject: int8 → int MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TLE.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'TLE.go') 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"` } -- cgit 1.4.1