commit | 3fc9dd7cb6f9a4c0eb233a6a69d80d11156d567b | [log] [tgz] |
---|---|---|
author | Jean de Klerk <deklerk@google.com> | Wed Sep 02 16:41:59 2020 -0600 |
committer | Jean de Klerk <deklerk@google.com> | Tue Oct 20 18:57:20 2020 +0000 |
tree | c1f6e651d6187499dc754e7e6b9930df91f09642 | |
parent | bfc9dd2940bfffc3e7c4e306d5c7ce7b6cf72b50 [diff] |
[x/blog] x/blog: add non-pointer note for errors.As example Since this is a very high SEO article and it's a copy-pasteable block, it gets copy pasted without much thought, which leads to problems when the error is a concrete type / interface / etc. This CL adds a small note that users should watch out for the case when the error type is not a pointer. Fixes golang/go#35361 Change-Id: Ibbd950c2a73a5f30cdab3517e042f69465adff97 Reviewed-on: https://go-review.googlesource.com/c/blog/+/252877 Reviewed-by: Jonathan Amsterdam <jba@google.com> Reviewed-by: Kevin Burke <kev@inburke.com> Trust: Jean de Klerk <deklerk@google.com> Trust: Damien Neil <dneil@google.com> X-Blog-Commit: 989b9fc7a2626e387b19079b084798a016de1018
This repository holds the Go Website server code and content.
The easiest way to install is to run go get -u golang.org/x/website
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.