Imports github.com/gorilla/mux github.com/stretchr/testify/require Standard library imports bytes encoding/json fmt io/ioutil net/http net/http/httptest sync testing