diff --git a/net/ping/ping_darwin.go b/net/ping/ping_darwin.go index ca91688..2fc6385 100644 --- a/net/ping/ping_darwin.go +++ b/net/ping/ping_darwin.go @@ -5,7 +5,7 @@ import ( "os/exec" ) -func Ping(destination string, options Option) (Result, error) { +func Ping(destination string, option Option) (Result, error) { option.Validate() params := make([]string, 0)