1
0
mirror of https://github.com/golang/go synced 2024-11-19 14:14:40 -07:00
go/doc
Robert Griesemer 9b49ac0366 spec: consistently use "defined type" and "type name" (cleanup)
When we introduced the notion of alias type declarations, we renamed
"named type" to "defined type" to avoid confusion with types denoted
by aliases and thus are also types with names, or "named types".

Some of the old uses of "named types" remained; this change removes
them.

Now the spec consistently uses the terms:

- "defined type"  for a type declared via a type definition
- "type name"     for any name denoting an (alias or defined) type
- "alias"         for a type name declared in an alias declaration

New prose is encouraged to avoid the term "named type" to counter-
act further confusion.

Fixes #23474.

Change-Id: I5fb59f1208baf958da79cf51ed3eb1411cd18e03
Reviewed-on: https://go-review.googlesource.com/89115
Reviewed-by: Rob Pike <r@golang.org>
2018-01-23 17:39:18 +00:00
..
articles doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
codewalk all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
devel doc: document Go 1.8.6 2018-01-23 02:15:53 +00:00
editors doc: rename Gogland to GoLand 2017-11-22 01:18:45 +00:00
gopher website: recreate 16px and 32px favicon 2016-08-25 15:43:32 +00:00
play doc/play: update URL for concurrent pi 2016-01-06 20:23:21 +00:00
progs cmd/cgo: support niladic function-like macros 2017-08-30 18:28:58 +00:00
asm.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
cmd.html doc: website: changed link for cover 2017-06-18 16:19:31 +00:00
code.html doc: Proper default value for the $GOPATH. 2017-06-28 05:47:47 +00:00
conduct.html doc: update Code of Conduct wording and scope 2017-02-15 21:42:39 +00:00
contrib.html doc/contrib.html: fix outdated link 2017-12-11 22:15:38 +00:00
contribute.html doc: 2018 is the Year of the Gopher 2018-01-01 03:45:23 +00:00
debugging_with_gdb.html doc: remove interior <code> spaces in debugging, diagnostics docs 2018-01-09 21:48:03 +00:00
diagnostics.html doc: remove interior <code> spaces in debugging, diagnostics docs 2018-01-09 21:48:03 +00:00
docs.html doc: fix a sentence position. 2017-11-25 17:06:50 +00:00
editors.html doc: fix bad html tags in editors.html 2017-12-07 17:31:51 +00:00
effective_go.html doc: fix typo in Effective Go: s/ReaderWriter/ReadWriter/ 2017-11-23 04:07:39 +00:00
gccgo_contribute.html doc: fix stale gofrontend/gccgo contribution link 2016-09-01 18:38:38 +00:00
gccgo_install.html doc: update GCC release info in gccgo_install 2017-10-03 14:33:14 +00:00
go1.1.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
go1.2.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
go1.3.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
go1.4.html doc/go1.4.html: fix typo 2015-03-24 18:17:49 +00:00
go1.5.html doc: mention that go install removes binaries built by go build 2015-09-08 18:46:07 +00:00
go1.6.html doc: GCC 6 will have the Go 1.6.1 user libraries 2016-04-14 20:00:33 +00:00
go1.7.html doc: fix broken links in 1.7 release docs 2016-11-07 18:51:29 +00:00
go1.8.html doc: fix broken link in go1.8.html 2017-02-22 23:51:12 +00:00
go1.9.html doc/1.9: add mention of net/http.LocalAddrContextKey 2017-08-28 19:21:54 +00:00
go1.10.html doc, cmd/go: final release notes edits 2018-01-23 14:37:53 +00:00
go1.html doc: change anchor URLs from golang.org/dl/ to /dl/ 2018-01-20 04:13:12 +00:00
go1compat.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
go_faq.html doc/faq: clarify that concurrent maps reads are safe 2018-01-20 01:58:21 +00:00
go_mem.html doc/go_mem.html: correct the channel example 2015-03-16 21:43:31 +00:00
go_spec.html spec: consistently use "defined type" and "type name" (cleanup) 2018-01-23 17:39:18 +00:00
go-logo-black.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
go-logo-blue.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
go-logo-white.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
help.html doc: hide content blocked by GFW when served in CN 2017-09-11 14:59:59 +00:00
ie.css
install-source.html doc: s/tool chain/toolchain/ 2018-01-09 21:47:03 +00:00
install.html doc: change anchor URLs from golang.org/dl/ to /dl/ 2018-01-20 04:13:12 +00:00
root.html doc: change anchor URLs from golang.org/dl/ to /dl/ 2018-01-20 04:13:12 +00:00
security.html doc: dissuade people from using PGP for security reports 2017-04-17 18:33:08 +00:00
share.png godoc: change link styles, add 'pop out' button 2012-03-13 11:00:11 +11:00
tos.html doc: drop scheme from links that are known to support HTTPS 2014-07-25 10:28:39 +10:00