Code styling for symbol references

This commit is contained in:
Mark McGranaghan 2019-06-30 13:55:57 -07:00
parent 1be2c1c910
commit 751eeda8b2
3 changed files with 7 additions and 7 deletions

View File

@ -62,7 +62,7 @@ func main() {
err = os.Chdir("subdir/parent/child")
check(err)
// Now we'll see the contents of "subdir/parent/child"
// Now we'll see the contents of `subdir/parent/child`
// when listing the *current* directory.
c, err = ioutil.ReadDir(".")
check(err)
@ -84,7 +84,7 @@ func main() {
err = filepath.Walk("subdir", visit)
}
// visit is called for every file or directory found
// `visit` is called for every file or directory found
// recursively by `filepath.Walk`.
func visit(p string, info os.FileInfo, err error) error {
if err != nil {

View File

@ -1,2 +1,2 @@
57a8f629f040270c15a0375be4424b392edf3c95
LI7ty_KDozd
83f67db91816b4544072d0a4d099111a21c60723
-7kWq0PmATF

View File

@ -28,7 +28,7 @@
</td>
<td class="code leading">
<a href="http://play.golang.org/p/LI7ty_KDozd">
<a href="http://play.golang.org/p/-7kWq0PmATF">
<img title="Run code" class="run" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAPCAYAAADtc08vAAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJ1SURBVCjPY/j//z8DMu7o6GAAgpQgD9tLqcmJH4KDg14aaik/MtdXe2ZjY6OCrh6Fs2jRYmZ9Pd05M9uL/u9dPfU/CLS0dfxvKIz/X5Dg/z8pKdkGqwGpqakMUdExDHJSYqt37tjxf+qUSf9rc2P+79298/+RA3v+H1zV///o6r7/DrbWFQkJiQwxMTGoBjAxMTpKiQmuqMuP/f/xw/v/J0+f/W9tbvTfxVLn/8rJVf+v757z/96hRf8TQtxuCQmLMjk4OKAawMfDVWVvrvd85eTq/7tXTP6/e/XM/22lif9LCnL+b13Q/v/Kzln/L++c/X/7/Jb/VpYWuZFRUagGAAErEBtlxvi+vn944f9L26cDNcz6v21R9/8zm6aC2SBDbu+f/78kK+4/L79AO7oBYCAqxD/57JZp/y/tmPX/wrYZ/6+CbAayD6zs/78daBjIgPayFJAGG6wGAIFAcpjH/dv7F4ANABuya/b/Od3l/ye2V/+/tnv2/7ldxSANmrgMYGBhZg7fuagD7GyYIeeBrrqwdRrQgLn/l02sBGkwwWkAEAjV5EZ/vQV0LswAGAYZsLC3DKTBAJ8BzCkRni/uHFyIYcAtoNc6ypL/ANVIohigrKwMxqqqqgxMzKzM6VHeL+6iGQAKzDtAV5XlJv3n5uFLRTHgzZs3YPzz50+GwqJiPitD9Y8Pjy4BB+CNvfP+3wUmIpAhhckhr3X19LodHZ28UQxQU1MDYw0NDQYBAQEeoBOTK7JjP2xf3Pt/bkfB/4KkoDcKMmIL5OXlFerq6hhu3rzJgC8MwMDYxGSfm5vbVn9/f0cgVxAkpqioyFBfX49iAACbTAK+xT3CzgAAAABJRU5ErkJggg==" />
</a>
<div class="highlight"><pre><span class="kn">package</span> <span class="nx">main</span>
@ -218,7 +218,7 @@ similarly to <code>cd</code>.</p>
<tr>
<td class="docs">
<p>Now we&rsquo;ll see the contents of &ldquo;subdir/parent/child&rdquo;
<p>Now we&rsquo;ll see the contents of <code>subdir/parent/child</code>
when listing the <em>current</em> directory.</p>
</td>
@ -280,7 +280,7 @@ directory visited.</p>
<tr>
<td class="docs">
<p>visit is called for every file or directory found
<p><code>visit</code> is called for every file or directory found
recursively by <code>filepath.Walk</code>.</p>
</td>