Fix link to http-server from context.go

Also rename .hash file for consistency

Fixes #603
This commit is contained in:
Eli Bendersky
2025-05-13 05:35:37 -07:00
parent 6552c2cd2a
commit d393387262
4 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
// In the previous example we looked at setting up a simple
// [HTTP server](http-servers). HTTP servers are useful for
// [HTTP server](http-server). HTTP servers are useful for
// demonstrating the usage of `context.Context` for
// controlling cancellation. A `Context` carries deadlines,
// cancellation signals, and other request-scoped values

View File

@@ -1,2 +1,2 @@
a9537bfea55bca15d8db1c453e2d9852f9d447e1
0_bu1o8rIBO
94a35a6172346b56737ed907a2320bd30f98995d
7G1TlQrnbF1

4
public/context generated
View File

@@ -31,7 +31,7 @@
<tr>
<td class="docs">
<p>In the previous example we looked at setting up a simple
<a href="http-servers">HTTP server</a>. HTTP servers are useful for
<a href="http-server">HTTP server</a>. HTTP servers are useful for
demonstrating the usage of <code>context.Context</code> for
controlling cancellation. A <code>Context</code> carries deadlines,
cancellation signals, and other request-scoped values
@@ -39,7 +39,7 @@ across API boundaries and goroutines.</p>
</td>
<td class="code leading">
<a href="https://go.dev/play/p/0_bu1o8rIBO"><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/7G1TlQrnbF1"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
<pre class="chroma"><code><span class="line"><span class="cl"><span class="kn">package</span> <span class="nx">main</span></span></span></code></pre>
</td>
</tr>