init code

This commit is contained in:
thuanle
2024-10-24 09:53:02 +07:00
commit a7559b3f9d
9 changed files with 1006 additions and 0 deletions

17
cmd/tele/main.go Normal file
View File

@@ -0,0 +1,17 @@
package main
import (
"me.thuanle/bbot/internal"
"me.thuanle/bbot/internal/deps"
"me.thuanle/bbot/internal/services/tele"
)
func main() {
internal.Startup()
startDependencies()
tele.Ins().Start()
}
func startDependencies() {
deps.InitData()
}