about summary refs log tree commit diff
path: root/convert.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 /convert.go
parent7adbe2591309ceece6e7d9ea0c45b214ced69baa (diff)
int8 → int
Diffstat (limited to 'convert.go')
-rw-r--r--convert.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/convert.go b/convert.go
index e8e2def..e8000e6 100644
--- a/convert.go
+++ b/convert.go
@@ -108,16 +108,16 @@ func NewTLE(RawTLE string) (TLE, error) {
 			Satname: fmt.Sprintf("%-25s", SplitTLE[0][0:24]),
 		},
 		LineOne: LineOne{
-			Linenumber:      int8(LineOneLinenumber),
+			Linenumber:      LineOneLinenumber,
 			SatelliteNumber: SatelliteNumber,
 			Classification:  string(SplitTLE[1][7]),
 			InternationalDesignator: InternationalDesignator{
-				Launchyear:   int8(LaunchYear),
+				Launchyear:   LaunchYear,
 				Launchnumber: LaunchNumber,
 				Launchpiece:  string(SplitTLE[1][14]),
 			},
 			Epoch: Epoch{
-				Year:        int8(EpochYear),
+				Year:        EpochYear,
 				Dayfraction: EpochDayFraction,
 			},
 			Firstderiv:       FirstDeriv,