about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-08-19 15:12:29 +0200
committerEmile <hanemile@protonmail.com>2019-08-19 15:12:29 +0200
commit97d06d342df2efbbcd758b526d927b389cc44b69 (patch)
treeeb120368248b3a1ae219053bfc0c7239c568d060
parent8b85088c511cad21d39ed50b824ba3221a0eca68 (diff)
commented the epoch
-rw-r--r--TLE.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/TLE.go b/TLE.go
index 4c57928..950e9c0 100644
--- a/TLE.go
+++ b/TLE.go
@@ -54,8 +54,13 @@ type InternationalDesignator struct {
 	Launchpiece rune `json:"launchpiece"`
 }
 
+// Epoch defines a moment in time
 type Epoch struct {
-	Year        int8    `json:"year"`
+
+	// Last two digits of the year
+	Year int8 `json:"year"`
+
+	// day of the year and fractional portion of the day
 	Dayfraction float64 `json:"dayfraction"`
 }