about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-08-18 21:13:32 +0200
committerEmile <hanemile@protonmail.com>2019-08-18 21:13:32 +0200
commit2a61f54b7cdb3cf03ec42ec9296bfb83321acb41 (patch)
treeb1535aea7d8fd6311ee3ffa5ef781e97e8046104
parent386464f813952fa00956f6921d04f0b4825be23c (diff)
added the StringsToTLE function converting a string to a TLE
-rw-r--r--convert.go4
-rw-r--r--convert_test.go1
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