package main import ( "flag" "go.balki.me/tss/app" "go.balki.me/tss/log" "go.balki.me/tss/schedule" ) func main() { schedule.SetLogger(log.GetZapLogger()) var configPath string flag.StringVar(&configPath, "config", "./tss.yml", "path to tss.yml config") flag.Parse() if err := app.Run(configPath); err != nil { panic(err) } }