- Remove redundant // +build directives (go:build is sufficient in Go 1.17+) - Replace strings.Replace(..., -1) with strings.ReplaceAll
13 lines
283 B
Go
13 lines
283 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(cfg hostagent.Config, logger zerolog.Logger) error {
|
|
return nil
|
|
}
|