Skip to content

Commit

Permalink
README: replace deprecated godoc links with new ones (#125)
Browse files Browse the repository at this point in the history
This PR replaces the deprecated `GoDoc` links with new ones to `Go
Reference` in `README.md`.

See golang/go#49212 for details about the
deprecated `godoc`.
The badge is created at https://pkg.go.dev/badge/.
  • Loading branch information
alexandear committed Jun 6, 2024
1 parent 3b6d3dd commit 4b71e24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ goleak is v1 and follows [SemVer](http://semver.org/) strictly.

No breaking changes will be made to exported APIs before 2.0.

[doc-img]: https://godoc.org/go.uber.org/goleak?status.svg
[doc]: https://godoc.org/go.uber.org/goleak
[doc-img]: https://pkg.go.dev/badge/go.uber.org/goleak.svg
[doc]: https://pkg.go.dev/go.uber.org/goleak
[ci-img]: https://github.com/uber-go/goleak/actions/workflows/ci.yml/badge.svg
[ci]: https://github.com/uber-go/goleak/actions/workflows/ci.yml
[cov-img]: https://codecov.io/gh/uber-go/goleak/branch/master/graph/badge.svg
Expand Down
2 changes: 1 addition & 1 deletion testmain.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type TestingM interface {
// goleak.VerifyTestMain(m)
// }
//
// See https://golang.org/pkg/testing/#hdr-Main for more details.
// See https://pkg.go.dev/testing#hdr-Main for more details.
//
// This will run all tests as per normal, and if they were successful, look
// for any goroutine leaks and fail the tests if any leaks were found.
Expand Down

0 comments on commit 4b71e24

Please sign in to comment.