Category "gorilla"

in tests mux.Vars() returns nil instead of expected map

I have a Gorilla Mux router setup inside a function that returns *mux.Router, goes like this func MakeApp(services service.Service, pe PolicyEnforce) *mux.Route

in tests mux.Vars() returns nil instead of expected map

I have a Gorilla Mux router setup inside a function that returns *mux.Router, goes like this func MakeApp(services service.Service, pe PolicyEnforce) *mux.Route

Cannot unmarshal a post json python request in Go

Here is my python code (client side) : import requests import json import datetime headers = {'Content-type': 'application/json',"Authorization":"Bearer MYRE