top
(README.md)
# cmpe273-assignment2

Steps to Run

1.Add imported packages github.com/julienschmidt/httprouter and gopkg.in/mgo.v2
2.Run command go run assignment2.go
3.Open PostMan or AdvancedREST Client
4.Try POST as http://localhost:8080/locations
5.Try GET as http://localhost:8080/locations/location_id
6.Try PUT as http://localhost:8080/locations
7.Try DELETE as http://localhost:8080/locations/location_id

Imports 2 package(s) ΒΆ

  1. github.com/julienschmidt/httprouter
  2. gopkg.in/mgo.v2