mirror of
https://github.com/go-ping/ping.git
synced 2025-08-08 00:23:39 +00:00
Mark module as deprecated (#236)
This commit is contained in:
parent
caaf2b72ea
commit
610518ea2b
@ -4,3 +4,7 @@ issues:
|
|||||||
- path: _test.go
|
- path: _test.go
|
||||||
linters:
|
linters:
|
||||||
- errcheck
|
- errcheck
|
||||||
|
linters-settings:
|
||||||
|
staticcheck:
|
||||||
|
checks:
|
||||||
|
- "-SA1019"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// Deprecated: This package is no longer maintained.
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
2
ping.go
2
ping.go
@ -1,5 +1,7 @@
|
|||||||
// Package ping is a simple but powerful ICMP echo (ping) library.
|
// Package ping is a simple but powerful ICMP echo (ping) library.
|
||||||
//
|
//
|
||||||
|
// Deprecated: This package is no longer maintained.
|
||||||
|
//
|
||||||
// Here is a very simple example that sends and receives three packets:
|
// Here is a very simple example that sends and receives three packets:
|
||||||
//
|
//
|
||||||
// pinger, err := ping.NewPinger("www.google.com")
|
// pinger, err := ping.NewPinger("www.google.com")
|
||||||
|
Loading…
Reference in New Issue
Block a user