diff options
author | Emile <hanemile@protonmail.com> | 2019-08-18 21:13:32 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-08-18 21:13:32 +0200 |
commit | 2a61f54b7cdb3cf03ec42ec9296bfb83321acb41 (patch) | |
tree | b1535aea7d8fd6311ee3ffa5ef781e97e8046104 | |
parent | 386464f813952fa00956f6921d04f0b4825be23c (diff) |
added the StringsToTLE function converting a string to a TLE
-rw-r--r-- | convert.go | 4 | ||||
-rw-r--r-- | convert_test.go | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/convert.go b/convert.go index cc2ea2e..739a6eb 100644 --- a/convert.go +++ b/convert.go @@ -2,6 +2,6 @@ package TLE // StrinToTLE reads the inputTLE line by line, and inserts it into a TLE // struct -func StringToTLE(inputTLE string) (TLE, err) { - +func StringToTLE(inputTLE string) (TLE, error) { + return TLE{}, nil } diff --git a/convert_test.go b/convert_test.go new file mode 100644 index 0000000..690f903 --- /dev/null +++ b/convert_test.go @@ -0,0 +1 @@ +package TLE |