Natively curious human, passionate about building things that bring people joy. I'm Oana ๐
go-playground's Introduction
go-playground's People
go-playground's Issues
Trying to retrieve the temperature
when unmarshalling the forecast request I get:
Request succesfully to https://api.darksky.net/forecast/cb957c717f54f7a29bfb14de577110cc/1.29736,52.63090 ... weatherToday: map[data:[map[apparentTemperature:90.18 cloudCover:0.57 dewPoint:69.72 humidity:0.59 icon:partly-cloudy-day ozone:260.8 precipIntensity:0.0005 precipProbability:0.05 precipType:rain pressure:1009.3 summary:Partly Cloudy temperature:85.7 time:1.5725988e+09 uvIndex:8 visibility:10 windBearing:253 windGust:11.91 windSpeed:11.9] ....
I need to figure out how to retrieve the temperature from a map in map or change the logic to use struct
Update instructions to run the project
Unsure why, but simply running the instructions from the README does not work. I tried the following:
tudor ~/work/oana/go-playground[master]$ ./bin/weather
Hello, my Go ^_^
tudor ~/work/oana/go-playground[master]$ ./bin/hello
Hello, my Go ^_^
tudor ~/work/oana/go-playground[master]$ ./bin/weather
Hello, my Go ^_^
tudor ~/work/oana/go-playground[master]$ go run ./src/weather/weather.go
Starting my app ...
Request succesfully to https://httpbin.org/ip ...
Starting my app ...
Request succesfully to https://api.ipgeolocation.io/ipgeo?apiKey=d2dfba9048bf4c7594fc4c17f0b0956c&ip=80.169.155.10 ...
Starting my app ...
Request succesfully to https://api.darksky.net/forecast/cb957c717f54f7a29bfb14de577110cc/-0.12570,51.50850 ...
Having a nice time in London ?
It looks like the weather's Humid and partly cloudy throughout the day.
tudor ~/work/oana/go-playground[master]$
to finally get it working. Maybe the README needs to be clearer.
Add a roadmap to the README
Please ad a roadmap of future features of this project, as well as current ones.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.