From 2a61f54b7cdb3cf03ec42ec9296bfb83321acb41 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 18 Aug 2019 21:13:32 +0200 Subject: added the StringsToTLE function converting a string to a TLE --- convert.go | 4 ++-- convert_test.go | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 convert_test.go 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 -- cgit 1.4.1