Imports github.com/RichardKnop/jsonhal github.com/RichardKnop/logging github.com/gorilla/mux github.com/urfave/negroni github.com/stretchr/testify/assert Standard library imports net/http/httptest encoding/json fmt io log net/http net/url os strings testing time