summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-25 00:22:41 +0530
committerAndinus <andinus@nand.sh>2020-03-25 00:22:41 +0530
commitf5bf0978d4cc77203482a0350622ef255f6609fb (patch)
treed47d33ae9450a5c854cda908fd2ed44bf2876d1b
parenta0dd5dfdb701270637c4aab420b9fe7cec8eccf9 (diff)
downloadcetus-f5bf0978d4cc77203482a0350622ef255f6609fb.tar.gz
Refill comment in apod.go
-rw-r--r--apod/json.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/apod/json.go b/apod/json.go
index eae5fb2..2e1fcd0 100644
--- a/apod/json.go
+++ b/apod/json.go
@@ -51,10 +51,11 @@ func GetJson(reqInfo map[string]string) (string, error) {
 		return body, err
 	}
 
-	// reqInfo is map[string]string and params is built from it, currently
-	// it takes apiKey and the date from reqInfo to build param. If any
-	// new key/value is added to reqInfo then it must be addded here too,
-	// it won't be sent as param directly.
+	// reqInfo is map[string]string and params is built from it,
+	// currently it takes apiKey and the date from reqInfo to
+	// build param. If any new key/value is added to reqInfo then
+	// it must be addded here too, it won't be sent as param
+	// directly.
 	params := make(map[string]string)
 	params["api_key"] = reqInfo["apiKey"]
 	params["date"] = reqInfo["date"]