Remove outdated link from an example

gobyexample doesn't use pygments anymore, so the generate program doesn't
spawn anything.
This commit is contained in:
Eli Bendersky 2021-08-30 07:24:48 -07:00
parent a9507f5bbb
commit df8a378a22
3 changed files with 5 additions and 13 deletions

View File

@ -1,9 +1,5 @@
// Sometimes our Go programs need to spawn other, non-Go // Sometimes our Go programs need to spawn other, non-Go
// processes. For example, the syntax highlighting on this // processes.
// site is [implemented](https://github.com/mmcgrana/gobyexample/blob/master/tools/generate.go)
// by spawning a [`pygmentize`](http://pygments.org/)
// process from a Go program. Let's look at a few examples
// of spawning processes from Go.
package main package main

View File

@ -1,2 +1,2 @@
b6e1e4b70a494be9f344a9f31aff520116d0ac24 aaedc48f74409cef2b8e9ad624aa1c4639ce630d
YJs_YtJY0sS s-T7gxeD7hH

View File

@ -28,11 +28,7 @@
<tr> <tr>
<td class="docs"> <td class="docs">
<p>Sometimes our Go programs need to spawn other, non-Go <p>Sometimes our Go programs need to spawn other, non-Go
processes. For example, the syntax highlighting on this processes.</p>
site is <a href="https://github.com/mmcgrana/gobyexample/blob/master/tools/generate.go">implemented</a>
by spawning a <a href="http://pygments.org/"><code>pygmentize</code></a>
process from a Go program. Let&rsquo;s look at a few examples
of spawning processes from Go.</p>
</td> </td>
<td class="code empty leading"> <td class="code empty leading">
@ -46,7 +42,7 @@ of spawning processes from Go.</p>
</td> </td>
<td class="code leading"> <td class="code leading">
<a href="http://play.golang.org/p/YJs_YtJY0sS"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" /> <a href="http://play.golang.org/p/s-T7gxeD7hH"><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 class="chroma"><span class="kn">package</span> <span class="nx">main</span>
</pre> </pre>
</td> </td>