This is the example web server from lesson two in Golang intro.
Homework
- Add a new route to the api
/api/time
That returns a json structure that looks like :
{"time":1473438486}
- Add a new test that calls the new api
Hints
- Start with the router and look at the echo handler
- you will need a new type that matches has a time property