commit | 6063efbf986bf72d8b5b4274b16fbe7b0aef5de2 | [log] [tgz] |
---|---|---|
author | Matt T. Proud <matt.proud@gmail.com> | Mon Oct 25 11:28:55 2021 +0200 |
committer | Damien Neil <dneil@google.com> | Mon Oct 25 17:16:39 2021 +0000 |
tree | 78bd18800cb48f7d4689ee75aa10ab0930354261 | |
parent | 281050ffddd88206d068f5f9e9cfa31cf01c9446 [diff] |
blog: clarify what is meant by equality in article The blog article https://go.dev/blog/go1.13-errors explains when package errors use a user-authored Is method on an error. It does this in the context of error value equality. Because errors are often implemented as pointer values (and receivers), which may have non-obvious semantics to newcomers, this presents a good opportunity to remind the reader what equality means in such cases. This commit is largely cosmetic and provides a link back to the relevant part of the language specification. Change-Id: I0e312fa1385e7caa9944eaff4ac788c91c3294dd Reviewed-on: https://go-review.googlesource.com/c/website/+/358354 Reviewed-by: Jean de Klerk <deklerk@google.com> Reviewed-by: Damien Neil <dneil@google.com> Trust: Jean de Klerk <deklerk@google.com> Run-TryBot: Jean de Klerk <deklerk@google.com> TryBot-Result: Go Bot <gobot@golang.org>
This repo holds content and serving programs for the golang.org and go.dev web sites.
Content is in _content/ (golang.org), go.dev/_content/ (go.dev), and tour/ (tour.golang.org). Server code is in cmd/ and internal/.
To run the combined golang.org+go.dev server to preview local content changes, use:
go run ./cmd/golangorg
The supporting programs cmd/admingolangorg and cmd/googlegolangorg are the servers for admin.golang.org and google.golang.org. (They do not use the _content/ directories.)
Each command directory has its own README.md explaining deployment.
This repository uses prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
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 website 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.