Imports github.com/dgrijalva/jwt-go github.com/gorilla/handlers github.com/gorilla/websocket github.com/jinzhu/gorm github.com/jinzhu/gorm/dialects/postgres github.com/spf13/pflag github.com/spf13/viper gopkg.in/gomail.v2 gopkg.in/hlandau/passlib.v1 Standard library imports crypto/rand encoding/base64 encoding/json flag fmt log net/http os os/signal strings sync syscall time