Skip to content

Commit

Permalink
Mark module as deprecated (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hipska authored Dec 2, 2024
1 parent caaf2b7 commit 610518e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ issues:
- path: _test.go
linters:
- errcheck
linters-settings:
staticcheck:
checks:
- "-SA1019"
1 change: 1 addition & 0 deletions cmd/ping/ping.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Deprecated: This package is no longer maintained.
package main

import (
Expand Down
2 changes: 2 additions & 0 deletions ping.go
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit 610518e

Please sign in to comment.