So I have this:
v, ok := muxctx.Get(req, "req-body-map").(map[string]interface{})
the problem is that:
muxctx.Get(req, "req-body-map")
returns a pointer. I tried dereferencing the pointer like so:
(*(muxctx.Get(req, "req-body-map"))
but I get this:
Invalid indirect of '(muxctx.Get(req, "req-body-map"))' (type 'interface{}')
so I suppose since the Get method doesn't return a pointer, then I can't dereference it.