Imports github.com/dgrijalva/jwt-go github.com/gorilla/context github.com/gorilla/mux github.com/mitchellh/mapstructure go.mongodb.org/mongo-driver/bson go.mongodb.org/mongo-driver/mongo go.mongodb.org/mongo-driver/mongo/options Standard library imports context encoding/json fmt io/ioutil log net/http strings time