INNER CODE UNIT · Go
main
hatayama/unity-cli-loop · cli/dispatcher/cmd/dispatcher/main.go:12
func main() {
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
defer stop()
context.AfterFunc(ctx, stop)
os.Exit(dispatcher.RunDispatcher(ctx, os.Args[1:], os.Stdout, os.Stderr))
}