Files
OmniSocketGo/cmd/udpping/platform_other.go
2026-03-27 01:29:21 +08:00

15 lines
252 B
Go

//go:build !linux
package main
import (
"fmt"
"io"
"runtime"
"time"
)
func runPlatform(cfg config, stdout, stderr io.Writer, now func() time.Time) error {
return fmt.Errorf("udpping is only supported on linux; current GOOS=%s", runtime.GOOS)
}