1
0
mirror of https://github.com/mgerb/tmail synced 2026-01-11 01:52:49 +00:00

minor updates

This commit is contained in:
2018-02-06 15:00:31 +00:00
parent a6af3d11e2
commit b626050b5f
6 changed files with 25 additions and 13 deletions

View File

@@ -3,16 +3,12 @@ package main
import (
"os"
"github.com/asdine/storm"
"github.com/mgerb/tmail/db"
"github.com/mgerb/tmail/smtpserver"
"github.com/mgerb/tmail/webserver"
log "github.com/sirupsen/logrus"
)
//DB - database instance
var DB *storm.DB
func init() {
// Log as JSON instead of the default ASCII formatter.
log.SetFormatter(&log.JSONFormatter{})