top

Package parameters parses json into parameters object usage:

1) parse json to parameters:

parameters.MakeParsedReq(fn http.HandlerFunc)

2) get the parameters:

params := parameters.GetParams(req) val := params.GetXXX("key")

Imports 4 package(s) ΒΆ

  1. github.com/gorilla/context
  2. github.com/ugorji/go/codec
  3. github.com/gorilla/mux
  4. github.com/julienschmidt/httprouter