diff options
author | Emile <hanemile@protonmail.com> | 2019-08-19 15:06:21 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-08-19 15:06:21 +0200 |
commit | a877acbd7dd80e1733809f472699aacf6845c131 (patch) | |
tree | 7706a07e5a9ad29ec72d6fdad66d88bbfb286843 | |
parent | 58307def544f400b4e50863fecae4ba3b1217666 (diff) |
commented the TLE constructor
-rw-r--r-- | TLE.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TLE.go b/TLE.go index f534ea4..6929537 100644 --- a/TLE.go +++ b/TLE.go @@ -11,6 +11,7 @@ type TLE struct { LineTwo LineTwo `json:"linetwo"` } +// NewTLE returns a pointer to a TLE struct filled with the given Lines func NewTLE(titleLine TitleLine, lineOne LineOne, lineTwo LineTwo) *TLE { return &TLE{TitleLine: titleLine, LineOne: lineOne, LineTwo: lineTwo} } |