feat: udpping
This commit is contained in:
14
cmd/udpping/platform_other.go
Normal file
14
cmd/udpping/platform_other.go
Normal file
@@ -0,0 +1,14 @@
|
||||
//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)
|
||||
}
|
||||
Reference in New Issue
Block a user