github.com/powerman/golang-tools@v0.1.11-0.20220410185822-5ad214d8d803/godoc/static/godoc.html (about) 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 <meta name="viewport" content="width=device-width, initial-scale=1"> 6 <meta name="theme-color" content="#375EAB"> 7 {{with .Tabtitle}} 8 <title>{{html .}} - Go Documentation Server</title> 9 {{else}} 10 <title>Go Documentation Server</title> 11 {{end}} 12 <link type="text/css" rel="stylesheet" href="/lib/godoc/style.css"> 13 {{if .TreeView}} 14 <link rel="stylesheet" href="/lib/godoc/jquery.treeview.css"> 15 {{end}} 16 <script>window.initFuncs = [];</script> 17 <script src="/lib/godoc/jquery.js" defer></script> 18 {{if .TreeView}} 19 <script src="/lib/godoc/jquery.treeview.js" defer></script> 20 <script src="/lib/godoc/jquery.treeview.edit.js" defer></script> 21 {{end}} 22 23 {{if .Playground}} 24 <script src="/lib/godoc/playground.js" defer></script> 25 {{end}} 26 {{with .Version}}<script>var goVersion = {{printf "%q" .}};</script>{{end}} 27 <script src="/lib/godoc/godocs.js" defer></script> 28 </head> 29 <body> 30 31 <div id='lowframe' style="position: fixed; bottom: 0; left: 0; height: 0; width: 100%; border-top: thin solid grey; background-color: white; overflow: auto;"> 32 ... 33 </div><!-- #lowframe --> 34 35 <div id="topbar"{{if .Title}} class="wide"{{end}}><div class="container"> 36 <div class="top-heading" id="heading-wide"><a href="/pkg/">Go Documentation Server</a></div> 37 <div class="top-heading" id="heading-narrow"><a href="/pkg/">GoDoc</a></div> 38 <a href="#" id="menu-button"><span id="menu-button-arrow">▽</span></a> 39 <form method="GET" action="/search"> 40 <div id="menu"> 41 {{if (and .Playground .Title)}} 42 <a id="playgroundButton" href="https://play.golang.org/" title="Show Go Playground">Play</a> 43 {{end}} 44 <span class="search-box"><input type="search" id="search" name="q" placeholder="Search" aria-label="Search" required><button type="submit"><span><!-- magnifying glass: --><svg width="24" height="24" viewBox="0 0 24 24"><title>submit search</title><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/><path d="M0 0h24v24H0z" fill="none"/></svg></span></button></span> 45 </div> 46 </form> 47 48 </div></div> 49 50 {{if .Playground}} 51 <div id="playground" class="play"> 52 <div class="input"><textarea class="code" spellcheck="false">package main 53 54 import "fmt" 55 56 func main() { 57 fmt.Println("Hello, 世界") 58 }</textarea></div> 59 <div class="output"></div> 60 <div class="buttons"> 61 <a class="run" title="Run this code [shift-enter]">Run</a> 62 <a class="fmt" title="Format this code">Format</a> 63 <a class="share" title="Share this code">Share</a> 64 </div> 65 </div> 66 {{end}} 67 68 <div id="page"{{if .Title}} class="wide"{{end}}> 69 <div class="container"> 70 71 {{if or .Title .SrcPath}} 72 <h1> 73 {{html .Title}} 74 {{html .SrcPath | srcBreadcrumb}} 75 </h1> 76 {{end}} 77 78 {{with .Subtitle}} 79 <h2>{{html .}}</h2> 80 {{end}} 81 82 {{with .SrcPath}} 83 <h2> 84 Documentation: {{html . | srcToPkgLink}} 85 </h2> 86 {{end}} 87 88 {{/* The Table of Contents is automatically inserted in this <div>. 89 Do not delete this <div>. */}} 90 <div id="nav"></div> 91 92 {{/* Body is HTML-escaped elsewhere */}} 93 {{printf "%s" .Body}} 94 95 <div id="footer"> 96 Build version {{html .Version}}.<br> 97 Except as <a href="https://developers.google.com/site-policies#restrictions">noted</a>, 98 the content of this page is licensed under the 99 Creative Commons Attribution 3.0 License, 100 and code is licensed under a <a href="/LICENSE">BSD license</a>.<br> 101 <a href="https://golang.org/doc/tos.html">Terms of Service</a> | 102 <a href="https://www.google.com/intl/en/policies/privacy/">Privacy Policy</a> 103 </div> 104 105 </div><!-- .container --> 106 </div><!-- #page --> 107 </body> 108 </html>