Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 452 Bytes

readme.md

File metadata and controls

20 lines (13 loc) · 452 Bytes

GO API Base Project

This repository is my favorite way of kicking of a new API project in go. Read my blog post for all the details.

Run it

  • Install go (v1.13 or later)
  • go build
  • ./my-go-api

Try it

  • curl localhost:8080
  • curl localhost:8080/Jonny
  • curl localhost:8080/orders

Test it

  • go test -v