link embed directive (#469)

This commit is contained in:
Hossein Naghdbishi 2023-04-19 23:25:27 +00:00 committed by GitHub
parent 0a1da7e32d
commit 363849f9e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
// Go supports _embedding_ of structs and interfaces
// to express a more seamless _composition_ of types.
// This is not to be confused with `//go:embed` which is
// This is not to be confused with [`//go:embed`](embed-directive) which is
// a go directive introduced in Go version 1.16+ to embed
// files and folders into the application binary.

View File

@ -1,2 +1,2 @@
a246237126303fb110186ac2598bca15d36e8366
TqMui3hJuX7
7ac6d1889bfc68e8f3f931014c87e05db2ecda95
-LOu1L0i2tR

View File

@ -29,7 +29,7 @@
<td class="docs">
<p>Go supports <em>embedding</em> of structs and interfaces
to express a more seamless <em>composition</em> of types.
This is not to be confused with <code>//go:embed</code> which is
This is not to be confused with <a href="embed-directive"><code>//go:embed</code></a> which is
a go directive introduced in Go version 1.16+ to embed
files and folders into the application binary.</p>
@ -45,7 +45,7 @@ files and folders into the application binary.</p>
</td>
<td class="code leading">
<a href="https://go.dev/play/p/TqMui3hJuX7"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
<a href="https://go.dev/play/p/-LOu1L0i2tR"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
<pre class="chroma"><span class="kn">package</span> <span class="nx">main</span>
</pre>
</td>