]> Cypherpunks repositories - gostls13.git/commit
errors: reference Go 1.13 article about errors
authorMatt T. Proud <matt.proud@gmail.com>
Sat, 28 Sep 2024 14:25:38 +0000 (14:25 +0000)
committerDamien Neil <dneil@google.com>
Mon, 30 Sep 2024 17:37:38 +0000 (17:37 +0000)
commit1d0f5c478ac176fa99d0f3d6bd540e5fb422187a
tree0a58dac7d184e006abb2bcc9d59e04438264e2ff
parent846fc6345d7121911376ab336e6b46fef2dd240f
errors: reference Go 1.13 article about errors

This commit amends package errors' documentation to include a reference
to the https://go.dev/blog/go1.13-errors blog article. The motivation
is multi-fold, but chiefly the article includes good information about
error philosophy (e.g., when to wrap), and developers who have come to
Go in the intervening five years are likely not have seen this article
at all given the nature of blog publishing and post fanfare. The
material deserves a promotion in visibility.

Change-Id: Ia6f8307784521dd59de3a3d638dbc0a7fcd445e6
GitHub-Last-Rev: 20980dd5070cde495ebb08386ae7b4cd78ccc612
GitHub-Pull-Request: golang/go#69698
Reviewed-on: https://go-review.googlesource.com/c/go/+/616341
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/errors/errors.go