summaryrefslogtreecommitdiff
path: root/lib/godoc/godoc.html
diff options
context:
space:
mode:
Diffstat (limited to 'lib/godoc/godoc.html')
-rw-r--r--lib/godoc/godoc.html69
1 files changed, 69 insertions, 0 deletions
diff --git a/lib/godoc/godoc.html b/lib/godoc/godoc.html
new file mode 100644
index 000000000..671160d5a
--- /dev/null
+++ b/lib/godoc/godoc.html
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+{{with .Title}}
+ <title>{{html .}} - The Go Programming Language</title>
+{{else}}
+ <title>The Go Programming Language</title>
+{{end}}
+<link rel="stylesheet" href="/doc/all.css" type="text/css" media="all" charset="utf-8">
+<!--[if lt IE 8]>
+<link rel="stylesheet" href="/doc/ie.css" type="text/css">
+<![endif]-->
+<script type="text/javascript" src="/doc/godocs.js"></script>
+</head>
+<body>
+<div id="container">
+ <div id="topnav">
+ <h1 id="title">The Go Programming Language</h1>
+ <div id="nav-main">
+ <ul>
+ <li><a href="/">Home</a></li><li><a href="/doc/install.html">Getting Started</a></li><li><a href="/doc/docs.html">Documentation</a></li><li><a href="/doc/contrib.html">Contributing</a></li><li><a href="/doc/community.html">Community</a></li>
+ </ul>
+ <div class="quickref">
+ <form method="GET" action="/search">
+ {{range .PkgRoots}}
+ <a href="/pkg/{{html .}}">{{html .}}</a> <span class="sep">|</span>
+ {{else}}
+ References:
+ {{end}}
+ <a href="/pkg/">Packages</a> <span class="sep">|</span>
+ <a href="/cmd/">Commands</a> <span class="sep">|</span>
+ <a href="/doc/go_spec.html">Specification</a>
+ {{if .SearchBox}}
+ <input id="search" type="search" name="q" value="{{with .Query}}{{html .}}{{end}}" class="{{if not .Query}}inactive{{end}}" placeholder="code search" results="0" />
+ {{end}}
+ </form>
+ </div>
+ </div>
+ <a id="logo-box" href="/"></a>
+ </div>
+ <div id="content">
+ <!-- Menu is HTML-escaped elsewhere -->
+ {{with .Menu}}
+ <div id="menu">
+ {{printf "%s" .}}
+ </div>
+ {{end}}
+
+ {{with .Title}}
+ <h1 id="generatedHeader">{{html .}}</h1>
+ {{end}}
+ {{with .Subtitle}}
+ <span class="subtitle">{{html .}}</span>
+ {{end}}
+
+ <!-- The Table of Contents is automatically inserted in this <div>.
+ Do not delete this <div>. -->
+ <div id="nav"></div>
+
+ <!-- Content is HTML-escaped elsewhere -->
+ {{printf "%s" .Content}}
+ </div>
+ <div id="site-info">
+ <p>Build version {{html .Version}}. Except as noted, this content is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 License</a>.</p>
+ </div>
+</div>
+</body>
+</html>