diff options
author | Andinus <andinus@nand.sh> | 2020-03-25 00:22:41 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-03-25 00:22:41 +0530 |
commit | f5bf0978d4cc77203482a0350622ef255f6609fb (patch) | |
tree | d47d33ae9450a5c854cda908fd2ed44bf2876d1b /apod | |
parent | a0dd5dfdb701270637c4aab420b9fe7cec8eccf9 (diff) | |
download | cetus-f5bf0978d4cc77203482a0350622ef255f6609fb.tar.gz |
Refill comment in apod.go
Diffstat (limited to 'apod')
-rw-r--r-- | apod/json.go | 9 |
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"] |