Skip to content

delabroj/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather tells you the weather

Running locally

  • make build
  • export OPEN_WEATHER_MAP_API_KEY=[your open weather map api key]
  • ./weather
  • curl "localhost:8000/weather?lat=45&lon=45"

Running unit tests

  • make check

Updating mocks

  • Install genmocks if needed: go get -u github.com/delabroj/genmocks
  • make mocks

Todo (when time permits):

  • Return severe weather warnings
  • Add unit tests to api subpackage

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors