Imports github.com/mitchellh/mapstructure golang.org/x/time/rate Standard library imports bytes context encoding/json errors fmt io io/ioutil net/http net/http/httptest net/url strings testing time