mirror of
https://github.com/mgerb/tmail
synced 2026-01-11 01:52:49 +00:00
minor updates
This commit is contained in:
4
main.go
4
main.go
@@ -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{})
|
||||
|
||||
Reference in New Issue
Block a user