feat: migrate to golang
This commit is contained in:
11
internal/service/wrapper_windows_svc_stub.go
Normal file
11
internal/service/wrapper_windows_svc_stub.go
Normal 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")
|
||||
}
|
||||
Reference in New Issue
Block a user