summary refs log tree commit diff stats
path: root/apod
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 /apod
parenta0dd5dfdb701270637c4aab420b9fe7cec8eccf9 (diff)
downloadcetus-f5bf0978d4cc77203482a0350622ef255f6609fb.tar.gz
Refill comment in apod.go
Diffstat (limited to 'apod')
-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"]
class='alt'>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61