jira-bot/cmd/main.go
Andrey Belvedersky f3175b8ce9 add config
2021-06-06 03:46:11 +03:00

18 lines
287 B
Go

package main
import (
"git/ecom/jira-bot/pkg/bot"
"git/ecom/jira-bot/pkg/config"
"git/ecom/jira-bot/pkg/events"
"git/ecom/jira-bot/pkg/utils"
)
func main() {
cfg, err := config.GetConfig("settings")
if err != nil {
utils.Exit(err)
}
go events.Listen(cfg)
bot.JiraBot(cfg)
}