質問編集履歴

1

apikey

2019/02/01 12:45

投稿

yutaro1204
yutaro1204

スコア4

test CHANGED
File without changes
test CHANGED
@@ -66,7 +66,7 @@
66
66
 
67
67
  fmt.Println("you typed test")
68
68
 
69
- resp, _ := http.Get("http://api.openweathermap.org/data/2.5/weather?q=Tokyo,jp&APPID=d899b040d94293fe224b5b1ef32c5d15")
69
+ resp, _ := http.Get("http://api.openweathermap.org/data/2.5/weather?q=Tokyo,jp&APPID={apikey}")
70
70
 
71
71
  defer resp.Body.Close()
72
72