about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-09-16 17:33:18 +0200
committerEmile <hanemile@protonmail.com>2019-09-16 17:33:18 +0200
commit9d915fb2bdafe4ff03b6bfb273b6d36f02eab284 (patch)
treee125715462e04b13c5815ec47c59985862829cd4
parentaa7ec4f54706d671fa3f2d4ab381232750717073 (diff)
removed unused comments
-rw-r--r--http.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/http.go b/http.go
index 70e9eee..ece4fde 100644
--- a/http.go
+++ b/http.go
@@ -54,10 +54,6 @@ func getHandler(w http.ResponseWriter, r *http.Request) {
 	// TODO: Handle caching
 	//			- dump all if not present
 	//			- if old, fetch from celestrack
-	//content, err := ioutil.ReadFile("categories.txt")
-	//if err != nil {
-	//	log.Println("Could note read categories.txt")
-	//}
 
 	// open the file containing the data for the individual station
 	categoryPath := fmt.Sprintf("data/%s.txt", vars["station"])
@@ -79,12 +75,6 @@ func getHandler(w http.ResponseWriter, r *http.Request) {
 
 	RawTLE := strings.Join(lines[j:j+3], "\n")
 
-	/*
-			RawTLE := `ISS (ZARYA)
-		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`
-	*/
-
 	// handle the response according to the query parameter "format"
 	// if ?format=json is given, return
 	if r.URL.Query().Get("format") == "json" {