Imports github.com/op/go-logging github.com/go-sql-driver/mysql github.com/dgrijalva/jwt-go github.com/goph/emperror Standard library imports bytes encoding/json fmt io net/http net/url regexp strings time database/sql