Skip to content

Commit 610518e

Browse files
authored
Mark module as deprecated (#236)
1 parent caaf2b7 commit 610518e

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ issues:
44
- path: _test.go
55
linters:
66
- errcheck
7+
linters-settings:
8+
staticcheck:
9+
checks:
10+
- "-SA1019"

cmd/ping/ping.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Deprecated: This package is no longer maintained.
12
package main
23

34
import (

ping.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// Package ping is a simple but powerful ICMP echo (ping) library.
22
//
3+
// Deprecated: This package is no longer maintained.
4+
//
35
// Here is a very simple example that sends and receives three packets:
46
//
57
// pinger, err := ping.NewPinger("www.google.com")

0 commit comments

Comments
 (0)