Imports github.com/google/go-cmp/cmp github.com/mitchellh/mapstructure github.com/stretchr/testify/require Standard library imports context encoding/json errors io/ioutil math/rand net/http net/http/httptest strconv testing time