Skip to content

Commit 058ecd7

Browse files
committed
Merge branch 'master' into dev-Kovpak-regexp
2 parents 33f34b7 + dd998ff commit 058ecd7

File tree

898 files changed

+44327
-19933
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

898 files changed

+44327
-19933
lines changed

.github/ISSUE_TEMPLATE

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,36 @@
1-
Please answer these questions before submitting your issue. Thanks!
2-
1+
<!-- Please answer these questions before submitting your issue. Thanks! -->
32

43
### What version of Go are you using (`go version`)?
54

5+
<pre>
6+
$ go version
7+
8+
</pre>
69

710
### Does this issue reproduce with the latest release?
811

912

13+
1014
### What operating system and processor architecture are you using (`go env`)?
1115

16+
<details><summary><code>go env</code> Output</summary><br><pre>
17+
$ go env
18+
19+
</pre></details>
1220

1321
### What did you do?
1422

23+
<!--
1524
If possible, provide a recipe for reproducing the error.
1625
A complete runnable program is good.
1726
A link on play.golang.org is best.
27+
-->
28+
1829

1930

2031
### What did you expect to see?
2132

2233

34+
2335
### What did you see instead?
2436

doc/asm.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@ <h3 id="arm64">ARM64</h3>
740740

741741
<p>
742742
<code>R18</code> is the "platform register", reserved on the Apple platform.
743+
To prevent accidental misuse, the register is named <code>R18_PLATFORM</code>.
743744
<code>R27</code> and <code>R28</code> are reserved by the compiler and linker.
744745
<code>R29</code> is the frame pointer.
745746
<code>R30</code> is the link register.

doc/contribute.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ <h2 id="sending_a_change_gerrit">Sending a change via Gerrit</h2>
393393
<p>
394394
It is not possible to fully sync Gerrit and GitHub, at least at the moment,
395395
so we recommend learning Gerrit.
396-
It's different but powerful and familiarity
397-
with help you understand the flow.
396+
It's different but powerful and familiarity with it will help you understand
397+
the flow.
398398
</p>
399399

400400
<h3>Overview</h3>

doc/devel/release.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ <h3 id="go1.11.minor">Minor revisions</h3>
4141
1.11.1 milestone</a> on our issue tracker for details.
4242
</p>
4343

44+
<p>
45+
go1.11.2 (released 2018/11/02) includes fixes to the compiler, linker,
46+
documentation, go command, and the <code>database/sql</code> and
47+
<code>go/types</code> packages.
48+
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.11.2">Go
49+
1.11.2 milestone</a> on our issue tracker for details.
50+
</p>
51+
4452
<h2 id="go1.10">go1.10 (released 2018/02/16)</h2>
4553

4654
<p>
@@ -83,6 +91,13 @@ <h3 id="go1.10.minor">Minor revisions</h3>
8391
1.10.4 milestone</a> on our issue tracker for details.
8492
</p>
8593

94+
<p>
95+
go1.10.5 (released 2018/11/02) includes fixes to the go command, linker, runtime
96+
and the <code>database/sql</code> package.
97+
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.10.5">Go
98+
1.10.5 milestone</a> on our issue tracker for details.
99+
</p>
100+
86101
<h2 id="go1.9">go1.9 (released 2017/08/24)</h2>
87102

88103
<p>

doc/effective_go.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,14 +246,16 @@ <h2 id="commentary">Commentary</h2>
246246

247247
<p>
248248
If every doc comment begins with the name of the item it describes,
249-
the output of <code>godoc</code> can usefully be run through <code>grep</code>.
249+
you can use the <a href="/cmd/go/#hdr-Show_documentation_for_package_or_symbol">doc</a>
250+
subcommand of the <a href="/cmd/go/">go</a> tool
251+
and run the output through <code>grep</code>.
250252
Imagine you couldn't remember the name "Compile" but were looking for
251253
the parsing function for regular expressions, so you ran
252254
the command,
253255
</p>
254256

255257
<pre>
256-
$ godoc regexp | grep -i parse
258+
$ go doc -all regexp | grep -i parse
257259
</pre>
258260

259261
<p>
@@ -264,10 +266,10 @@ <h2 id="commentary">Commentary</h2>
264266
</p>
265267

266268
<pre>
267-
$ godoc regexp | grep parse
269+
$ go doc -all regexp | grep -i parse
268270
Compile parses a regular expression and returns, if successful, a Regexp
271+
MustCompile is like Compile but panics if the expression cannot be parsed.
269272
parsed. It simplifies safe initialization of global variables holding
270-
cannot be parsed. It simplifies safe initialization of global variables
271273
$
272274
</pre>
273275

0 commit comments

Comments
 (0)