Imports github.com/bmizerany/assert github.com/dgrijalva/jwt-go github.com/gin-gonic/gin Standard library imports encoding/json errors fmt io io/ioutil net/http net/http/httptest strings testing time