github.com/xushiwei/go@v0.0.0-20130601165731-2b9d83f45bc9/lib/godoc/godoc.html (about) 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 {{with .Tabtitle}} 6 <title>{{html .}} - The Go Programming Language</title> 7 {{else}} 8 <title>The Go Programming Language</title> 9 {{end}} 10 <link type="text/css" rel="stylesheet" href="/doc/style.css"> 11 <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> 12 <script type="text/javascript">window.jQuery || document.write(unescape("%3Cscript src='/doc/jquery.js' type='text/javascript'%3E%3C/script%3E"));</script> 13 {{if .Playground}} 14 <script type="text/javascript" src="/doc/play/playground.js"></script> 15 {{end}} 16 <script type="text/javascript" src="/doc/godocs.js"></script> 17 {{if .SearchBox}} 18 <link rel="search" type="application/opensearchdescription+xml" title="godoc" href="/opensearch.xml" /> 19 {{end}} 20 </head> 21 <body> 22 23 <div id="topbar"{{if .Title}} class="wide"{{end}}><div class="container"> 24 25 <form method="GET" action="/search"> 26 <div id="menu"> 27 <a href="/doc/">Documents</a> 28 <a href="/ref/">References</a> 29 <a href="/pkg/">Packages</a> 30 <a href="/project/">The Project</a> 31 <a href="/help/">Help</a> 32 {{if .Playground}} 33 <a id="playgroundButton" href="http://play.golang.org/" title="Show Go Playground">Play</a> 34 {{end}} 35 <input type="text" id="search" name="q" class="inactive" value="Search" placeholder="Search"> 36 </div> 37 <div id="heading"><a href="/">The Go Programming Language</a></div> 38 </form> 39 40 </div></div> 41 42 {{if .Playground}} 43 <div id="playground" class="play"> 44 <div class="input"><textarea class="code">package main 45 46 import "fmt" 47 48 func main() { 49 fmt.Println("Hello, 世界") 50 }</textarea></div> 51 <div class="output"></div> 52 <div class="buttons"> 53 <a class="run" title="Run this code [shift-enter]">Run</a> 54 <a class="fmt" title="Format this code">Format</a> 55 <a class="share" title="Share this code">Share</a> 56 </div> 57 </div> 58 {{end}} 59 60 <div id="page"{{if .Title}} class="wide"{{end}}> 61 <div class="container"> 62 63 {{with .Title}} 64 <div id="plusone"><g:plusone size="small" annotation="none"></g:plusone></div> 65 <h1>{{html .}}</h1> 66 {{end}} 67 {{with .Subtitle}} 68 <h2>{{html .}}</h2> 69 {{end}} 70 71 {{/* The Table of Contents is automatically inserted in this <div>. 72 Do not delete this <div>. */}} 73 <div id="nav"></div> 74 75 {{/* Body is HTML-escaped elsewhere */}} 76 {{printf "%s" .Body}} 77 78 <div id="footer"> 79 Build version {{html .Version}}.<br> 80 Except as <a href="http://code.google.com/policies.html#restrictions">noted</a>, 81 the content of this page is licensed under the 82 Creative Commons Attribution 3.0 License, 83 and code is licensed under a <a href="/LICENSE">BSD license</a>.<br> 84 <a href="/doc/tos.html">Terms of Service</a> | 85 <a href="http://www.google.com/intl/en/policies/privacy/">Privacy Policy</a> 86 </div> 87 88 </div><!-- .container --> 89 </div><!-- #page --> 90 91 </body> 92 <script type="text/javascript"> 93 (function() { 94 var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; 95 po.src = 'https://apis.google.com/js/plusone.js'; 96 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); 97 })(); 98 </script> 99 </html> 100