about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--go.mod8
-rw-r--r--go.sum4
-rw-r--r--http.go4
3 files changed, 2 insertions, 14 deletions
diff --git a/go.mod b/go.mod
deleted file mode 100644
index 73f7e7e..0000000
--- a/go.mod
+++ /dev/null
@@ -1,8 +0,0 @@
-module git.darknebu.la/Satellite/TLE2JSON
-
-go 1.12
-
-require (
-	git.darknebu.la/Satellite/TLE v0.0.0-20190829210835-ce5042e51ea2
-	github.com/gorilla/mux v1.7.3
-)
diff --git a/go.sum b/go.sum
deleted file mode 100644
index e4cc836..0000000
--- a/go.sum
+++ /dev/null
@@ -1,4 +0,0 @@
-git.darknebu.la/Satellite/TLE v0.0.0-20190829210835-ce5042e51ea2 h1:vNbVQb+qEzatcMlSD7nXnE5UepVHsjM2cbg3wik3/9g=
-git.darknebu.la/Satellite/TLE v0.0.0-20190829210835-ce5042e51ea2/go.mod h1:nm5ECKwvODjivHre4SKW/WydMHAxXCC+EG1ckQHHhqs=
-github.com/gorilla/mux v1.7.3 h1:gnP5JzjVOuiZD07fKKToCAOjS0yOpj/qPETTXCCS6hw=
-github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
diff --git a/http.go b/http.go
index ca3c413..7d551ae 100644
--- a/http.go
+++ b/http.go
@@ -8,7 +8,7 @@ import (
 	"net/http"
 	"strings"
 
-	TLE "git.darknebu.la/Satellite/TLE"
+	tle "git.darknebu.la/Satellite/tle"
 	"github.com/gorilla/mux"
 )
 
@@ -60,7 +60,7 @@ func getHandler(w http.ResponseWriter, r *http.Request) {
 1 25544U 98067A   19229.39083552  .00000228  00000-0  11917-4 0  9993
 2 25544  51.6447  57.6210 0007373 294.0868 138.8050 15.50381554184754`
 
-		JSONTLE, err := TLE.NewTLE(RawTLE)
+		JSONTLE, err := tle.NewTLE(RawTLE)
 		if err != nil {
 			fmt.Println(err)
 		}