feat: migrate to golang

This commit is contained in:
2026-07-19 20:01:38 +08:00
parent 302d4e6bb5
commit a2630df9e0
69 changed files with 4750 additions and 3369 deletions

View File

@ -0,0 +1,11 @@
//go:build !windows
package service
import "fmt"
// RunWindowsService is only meaningful on Windows; this stub lets the CLI
// package build on other platforms.
func RunWindowsService(name, binPath, args string) error {
return fmt.Errorf("service run-windows is only supported on Windows")
}