Skip to content

maleck13/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

golang intro material

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages