12 lines
296 B
Go
12 lines
296 B
Go
//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")
|
|
}
|