diff --git a/.golangci.yml b/.golangci.yml index eb311f8..904d008 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,3 +4,7 @@ issues: - path: _test.go linters: - errcheck +linters-settings: + staticcheck: + checks: + - "-SA1019" diff --git a/cmd/ping/ping.go b/cmd/ping/ping.go index 0bed3fc..0ab3786 100644 --- a/cmd/ping/ping.go +++ b/cmd/ping/ping.go @@ -1,3 +1,4 @@ +// Deprecated: This package is no longer maintained. package main import ( diff --git a/ping.go b/ping.go index ef277ab..94f4244 100644 --- a/ping.go +++ b/ping.go @@ -1,5 +1,7 @@ // 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: // // pinger, err := ping.NewPinger("www.google.com")