- Mark unused stub parameters with underscore - Rename 'copy' variable to avoid shadowing builtin - Remove unnecessary else blocks after return statements
13 lines
276 B
Go
13 lines
276 B
Go
//go:build !windows
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/rcourtman/pulse-go-rewrite/internal/hostagent"
|
|
"github.com/rs/zerolog"
|
|
)
|
|
|
|
// runAsWindowsService is a no-op on non-Windows platforms
|
|
func runAsWindowsService(_ hostagent.Config, _ zerolog.Logger) error {
|
|
return nil
|
|
}
|