🎉 start the project

This commit is contained in:
loveuer
2025-07-09 22:50:23 +08:00
commit 84348f9eaf
31 changed files with 9990 additions and 0 deletions

21
main.go Normal file
View File

@ -0,0 +1,21 @@
package main
import (
"context"
"loveuer/utodo/internal/cmd"
"os/signal"
"syscall"
"time"
)
func init() {
time.Local = time.FixedZone("CST", 8*3600)
}
func main() {
ctx, cancel := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
defer cancel()
cmd.Init(ctx)
cmd.Execute(ctx)
}