21 lines
373 B
Go
21 lines
373 B
Go
package main
|
|
|
|
import (
|
|
"clickandjoin.app/emailserver/mailer"
|
|
"clickandjoin.app/emailserver/modules/config"
|
|
"clickandjoin.app/emailserver/modules/rabbitmq"
|
|
gocnjhelper "git.clickandjoin.umbach.dev/ClickandJoin/go-cnj-helper"
|
|
)
|
|
|
|
func init() {
|
|
config.LoadConfig()
|
|
|
|
gocnjhelper.InitLogger(config.Cfg.Debug, true, true)
|
|
|
|
mailer.Init()
|
|
}
|
|
|
|
func main() {
|
|
rabbitmq.Init()
|
|
}
|