mirror of
https://github.com/golang/go
synced 2024-11-25 06:37:58 -07:00
9d08068d21
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5819048
16 lines
481 B
HTML
16 lines
481 B
HTML
<div id="example_{{.Name}}" class="example">
|
|
<div class="collapsed">
|
|
<p class="exampleHeading">▹ <span class="text">Example{{example_suffix .Name}}</span></p>
|
|
</div>
|
|
<div class="expanded">
|
|
<p class="exampleHeading">▾ <span class="text">Example{{example_suffix .Name}}</span></p>
|
|
{{with .Doc}}<p>{{html .}}</p>{{end}}
|
|
<p>Code:</p>
|
|
<pre class="code">{{.Code}}</pre>
|
|
{{with .Output}}
|
|
<p>Output:</p>
|
|
<pre class="output">{{html .}}</pre>
|
|
{{end}}
|
|
</div>
|
|
</div>
|