feat 机器人

This commit is contained in:
2025-12-17 09:56:01 +08:00
parent 0274262591
commit d602a16b15
14 changed files with 540 additions and 0 deletions

14
Server/robot/main.go Normal file
View File

@@ -0,0 +1,14 @@
package main
import (
"fmt"
"github.com/judwhite/go-svc"
"robot/app"
"syscall"
)
func main() {
if err := svc.Run(&app.Program{}, syscall.SIGINT, syscall.SIGTERM, syscall.SIGKILL); err != nil {
fmt.Println(err)
}
}