Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 460 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 460 Bytes

This is the example web server from lesson two in Golang intro.

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