feat: 完成基本的 model
This commit is contained in:
4
main.go
4
main.go
@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"context"
|
||||
"loveuer/utodo/internal/cmd"
|
||||
"loveuer/utodo/internal/opt"
|
||||
"os/signal"
|
||||
"syscall"
|
||||
"time"
|
||||
@ -16,6 +17,7 @@ func main() {
|
||||
ctx, cancel := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
|
||||
defer cancel()
|
||||
|
||||
cmd.Init(ctx)
|
||||
opt.Init()
|
||||
cmd.Init()
|
||||
cmd.Execute(ctx)
|
||||
}
|
||||
|
Reference in New Issue
Block a user