1
0
mirror of https://github.com/golang/go synced 2024-11-25 07:27:57 -07:00
go/lib/godoc/example.html

15 lines
322 B
HTML
Raw Normal View History

<div class="example">
<div class="collapsed">
<p class="exampleHeading">▹ Example</p>
</div>
<div class="expanded">
<p class="exampleHeading">▾ Example</p>
<p>Code:</p>
<pre class="code">{{.Code}}</pre>
{{if .Output}}
<p>Output:</p>
<pre class="output">{{html .Output}}</pre>
{{end}}
</div>
</div>