Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (48 sloc) 1.843 kB
<!DOCTYPE html>
<meta http-eqiv="content-type" content="text/html;charset=utf-8">
<title>Go by Example: {{.Name}}</title>
<link rel=stylesheet href="site.css">
<script type="text/javascript">
if ( == "") {
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-34996217-1']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
<div class="example" id="{{.Id}}">
<h2><a href="./">Go by Example</a>: {{.Name}}</h2>
{{range .Segs}}
{{range .}}
<td class="docs">
<td class="code{{if .CodeEmpty}} empty{{end}}{{if .CodeLeading}} leading{{end}}">
{{if .CodeRun}}<a href="{{$.UrlHash}}"><img title="Run code" src="play.png" class="run" /></a>{{end}}
{{if .NextExample}}
<p class="next">
Next example: <a href="{{.NextExample.Id}}">{{.NextExample.Name}}</a>.
<p class="footer">
by <a href="">@mmcgrana</a> | <a href="">feedback</a> | <a href="{{.Id}}">source</a> | <a href="">license</a>
Jump to Line
Something went wrong with that request. Please try again.