aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkomuW <komuw05@gmail.com>2018-12-05 05:39:18 +0000
committerFilippo Valsorda <filippo@golang.org>2018-12-14 18:30:13 +0000
commita1d388ebf217d5582c24057cec4ccd053239dfc9 (patch)
treee232b951c5dbaeca690891dc3b9d88c6f92c5264
parentbdc7d5677edd1dab21cdaa1f6498e0c2a6c9d7bf (diff)
downloadgo-a1d388ebf217d5582c24057cec4ccd053239dfc9.tar.gz
go-a1d388ebf217d5582c24057cec4ccd053239dfc9.zip
[release-branch.go1.11] doc/go1.11: add note about go run supporting for go run pkg or go run .
Fixes golang/go#27047 Change-Id: I0dd40201fc03e87fbc674b47bdf9315f1783d6c2 GitHub-Last-Rev: f28ab6234ade814c4bc09e26417c424c843ad57b GitHub-Pull-Request: golang/go#27048 Reviewed-on: https://go-review.googlesource.com/c/129696 Reviewed-by: komu wairagu <komuw05@gmail.com> Reviewed-by: Andrew Bonventre <andybons@golang.org> (cherry picked from commit 352f1b77c40e2f2c0711244481e1cc25ae423830) Reviewed-on: https://go-review.googlesource.com/c/152744 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r--doc/go1.11.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/go1.11.html b/doc/go1.11.html
index 16b4c904cb..1d85be9fe4 100644
--- a/doc/go1.11.html
+++ b/doc/go1.11.html
@@ -400,6 +400,16 @@ details. <!-- CL 126275, CL 127156, CL 122217, CL 122575, CL 123177 -->
information.
</p>
+<h3 id="run">Run</h3>
+
+<p>
+ <!-- CL 109341 -->
+ The <a href="/cmd/go/"><code>go</code>&nbsp;<code>run</code></a>
+ command now allows a single import path, a directory name or a
+ pattern matching a single package.
+ This allows <code>go</code>&nbsp;<code>run</code>&nbsp;<code>pkg</code> or <code>go</code>&nbsp;<code>run</code>&nbsp;<code>dir</code>, most importantly <code>go</code>&nbsp;<code>run</code>&nbsp;<code>.</code>
+</p>
+
<h2 id="runtime">Runtime</h2>
<p><!-- CL 85887 -->