Imports github.com/json-iterator/go github.com/mitchellh/mapstructure github.com/stretchr/testify/assert Standard library imports bytes encoding/json fmt io net/http/httptest os testing