Files
OmniSocketGo/cmd/kcpping/platform_other.go

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("kcpping is only supported on linux; current GOOS=%s", runtime.GOOS)
}