This commit is contained in:
Bel LaPointe
2026-02-03 16:15:22 -07:00
parent f8d0042083
commit bdfd5d307a
3 changed files with 30 additions and 0 deletions

17
main.go Normal file
View File

@@ -0,0 +1,17 @@
package main
import (
"context"
"os/signal"
"red-apter/src"
"syscall"
)
func main() {
ctx, can := signal.NotifyContext(context.Background(), syscall.SIGINT)
defer can()
if err := src.Main(ctx); err != nil {
panic(err)
}
}