mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-07 18:26:16 +00:00
25 lines
440 B
Go
25 lines
440 B
Go
package bootstrap
|
|
|
|
import (
|
|
"github.com/assimon/luuu/command"
|
|
"github.com/assimon/luuu/config"
|
|
"github.com/assimon/luuu/model/dao"
|
|
"github.com/assimon/luuu/mq"
|
|
"github.com/assimon/luuu/task"
|
|
"github.com/assimon/luuu/telegram"
|
|
"github.com/assimon/luuu/util/log"
|
|
)
|
|
|
|
func Start() {
|
|
config.Init()
|
|
log.Init()
|
|
dao.Init()
|
|
mq.Start()
|
|
go telegram.BotStart()
|
|
go task.Start()
|
|
|
|
if err := command.Execute(); err != nil {
|
|
panic(err)
|
|
}
|
|
}
|