1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00
cowyo/vendor/github.com/sourcegraph/syntaxhighlight/testdata/simple.go.ol.html

14 lines
1.2 KiB
HTML
Raw Normal View History

2017-10-03 21:43:55 +03:00
<ol>
<li><span class="com">// +build ignore</span></li>
<li><span class="kwd">package</span> <span class="pln">foo</span></li>
<li></li>
<li><span class="kwd">func</span> <span class="typ">Bar</span><span class="pun">(</span><span class="pln">baz</span> <span class="pln">string</span><span class="pun">,</span> <span class="pln">qux</span> <span class="pun">*</span><span class="typ">Zip</span><span class="pun">)</span> <span class="pun">(</span><span class="pun">*</span><span class="typ">Zap</span><span class="pun">,</span> <span class="typ">Zop</span><span class="pun">)</span> <span class="pun">{</span></li>
<li> <span class="pln">ziz</span> <span class="pun">:</span><span class="pun">=</span> <span class="pln">mop</span><span class="pun">(</span><span class="dec">3</span><span class="pun">,</span> <span class="str">&#34;hello world&#34;</span><span class="pun">)</span></li>
<li><span class="pun">}</span></li>
<li></li>
<li><span class="kwd">type</span> <span class="typ">Qaz</span> <span class="kwd">struct</span> <span class="pun">{</span></li>
<li> <span class="typ">Buz</span> <span class="pln">string</span></li>
<li> <span class="typ">Mat</span> <span class="pun">*</span><span class="typ">Foo</span></li>
<li><span class="pun">}</span></li>
<li></li>
</ol>