From 0f19c83e3703a29ddc5ba1561d9f987fc4b30c9e Mon Sep 17 00:00:00 2001 From: Chris Nobody Date: Sat, 4 Mar 2023 13:47:58 +0200 Subject: [PATCH] all: replace remaining non-badge godoc.org links with pkg.go.dev ones --- CONTRIBUTING.md | 4 ++-- README.md | 2 +- lapack/gonum/doc.go | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3921fff1..b95c4842 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,7 +36,7 @@ Where possible, the source of algorithms should be referenced in the comments. Here are the current repositories for the Gonum project. If code you want to contribute doesn't quite fit in any of them, then please start a discussion on the [mailing list](https://groups.google.com/forum/#!forum/gonum-dev). -Code can be found at [github.com/gonum/](https://github.com/gonum/)\, and documentation at godoc.org/github.com/gonum/\. +Code can be found at [github.com/gonum/](https://github.com/gonum/)\, and documentation at gonum.org/v1/\. * [gonum](https://github.com/gonum/gonum) — The gonum repository contains the majority of Gonum packages * [plot](https://github.com/gonum/plot) — A repository for plotting and visualizing data @@ -80,7 +80,7 @@ Pull requests should include tests for any new code before merging. It is ok to start a pull request on partially implemented code to get feedback, and see if your approach to a problem is sound. You don't need to have tests, or even have code that compiles to open a pull request, although both will be needed before merge. When tests use magic numbers, please include a comment explaining the source of the number. -Benchmarks are optional for new features, but if you are submitting a pull request justified by performance improvement, you will need benchmarks to measure the impact of your change, and the pull request should include a report from [benchcmp](https://godoc.org/golang.org/x/tools/cmd/benchcmp) or, preferably, [benchstat](https://github.com/rsc/benchstat). +Benchmarks are optional for new features, but if you are submitting a pull request justified by performance improvement, you will need benchmarks to measure the impact of your change, and the pull request should include a report from [benchcmp](https://pkg.go.dev/golang.org/x/tools/cmd/benchcmp) or, preferably, [benchstat](https://github.com/rsc/benchstat). ### Code Review diff --git a/README.md b/README.md index be9fb857..b01b9e1e 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ The current list of non-internal tags is as follows: - safe — do not use assembly or unsafe - bounds — use bounds checks even in internal calls - noasm — do not use assembly implementations -- tomita — use [Tomita, Tanaka, Takahashi pivot choice](https://doi.org/10.1016%2Fj.tcs.2006.06.015) for maximimal clique calculation, otherwise use random pivot (only in [topo package](https://godoc.org/gonum.org/v1/gonum/graph/topo)) +- tomita — use [Tomita, Tanaka, Takahashi pivot choice](https://doi.org/10.1016%2Fj.tcs.2006.06.015) for maximimal clique calculation, otherwise use random pivot (only in [topo package](https://pkg.go.dev/gonum.org/v1/gonum/graph/topo)) ## Issues [![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/gonum/gonum)](https://www.tickgit.com/browse?repo=github.com/gonum/gonum) diff --git a/lapack/gonum/doc.go b/lapack/gonum/doc.go index 428c54e0..087f63cc 100644 --- a/lapack/gonum/doc.go +++ b/lapack/gonum/doc.go @@ -11,18 +11,18 @@ // for more license information. // // Slice function arguments frequently represent vectors and matrices. The data -// layout is identical to that found in https://godoc.org/gonum.org/v1/gonum/blas/gonum. +// layout is identical to that found in https://pkg.go.dev/gonum.org/v1/gonum/blas/gonum. // // Most LAPACK functions are built on top the routines defined in the BLAS API, // and as such the computation time for many LAPACK functions is // dominated by BLAS calls. Here, BLAS is accessed through the -// blas64 package (https://godoc.org/gonum.org/v1/gonum/blas/blas64). In particular, +// blas64 package (https://pkg.go.dev/gonum.org/v1/gonum/blas/blas64). In particular, // this implies that an external BLAS library will be used if it is // registered in blas64. // // The full LAPACK capability has not been implemented at present. The full // API is very large, containing approximately 200 functions for double precision // alone. Future additions will be focused on supporting the Gonum matrix -// package (https://godoc.org/gonum.org/v1/gonum/mat), though pull requests +// package (https://pkg.go.dev/gonum.org/v1/gonum/mat), though pull requests // with implementations and tests for LAPACK function are encouraged. package gonum // import "gonum.org/v1/gonum/lapack/gonum"