feat 初次提交

This commit is contained in:
2026-01-03 14:26:12 +08:00
parent 233fc9933f
commit 9c93ecf6e4
18 changed files with 1329 additions and 0 deletions

14
main.go Normal file
View File

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