PageSourceSearch

https://golang-jp.org/

html golang-jp.org collected 2026-10-04 13:31:00 UTC 7,253 bytes, 178 lines download raw bytes

1<!DOCTYPE html>
2<html>
3<head>
4<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
5<title>The Go Programming Language</title>
6<link href="/lib/godoc/style.css" rel="stylesheet" type="text/css"/>
7<link href="/lib/godoc/jquery.treeview.css" rel="stylesheet"/>
8<script type="text/javascript">window.initFuncs = [];</script>
8
9<style id="archive-recovery">.archive-form-note{padding:12px;background:#f5f2eb;color:#333;font:14px/1.6 Arial,sans-serif} .archive-form-note a{color:#174a75} </style></head>
10<body>
11<div id="lowframe" style="position: fixed; bottom: 0; left: 0; height: 0; width: 100%; border-top: thin solid grey; background-color: white; overflow: auto;">
12...
13</div><!-- #lowframe -->
14<div id="topbar"><div class="container">
15<div class="archive-form-note">保存版ページのため、送信・ログイン・予約機能は利用できません。掲載の連絡先をご利用ください。</div>
16</div></div>
17<div class="play" id="playground">
18<div class="input"><textarea class="code">package main
19import "fmt"
20func main() {
21	fmt.Println("Hello, 世界")
22}</textarea></div>
23<div class="output"></div>
24<div class="buttons">
25<a class="run" title="Run this code [shift-enter]">Run</a>
26<a class="fmt" title="Format this code">Format</a>
27<a class="share" title="Share this code">Share</a>
28</div>
29</div>
30<div id="page">
31<div class="container">
32<div id="nav"></div>
33<!--
34本ドキュメントは以下のドキュメントを翻訳しています: https://code.google.com/p/go/source/browse/doc/root.html?r=4dc74e676cd8acd21fd0f247f20b711c291f58cc
35-->
36<div class="left">
37<div id="learn">
38<a class="popout share">Pop-out</a>
39<div class="rootHeading">Try Go</div>
40<div class="input">
41<textarea class="code" spellcheck="false">// You can edit this code!
42// Click here and start typing.
43package main
44import "fmt"
45func main() {
46	fmt.Println("Hello, 世界")
47}</textarea>
48</div>
49<div class="output">
50<pre>
51Hello, 世界
52</pre>
53</div>
54<div class="buttons">
55<a class="run" href="#" title="Run this code [shift-enter]">Run</a>
56<a class="share" href="#" title="Share this code">Share</a>
57<a class="tour" href="https://go-tour-jp.appspot.com/" title="Go言語基礎文法最速マスター">Tour</a>
58</div>
59<div class="toys">
60<select>
61<option value="hello.go">Hello, World!</option>
62<option value="life.go">Conway's Game of Life</option>
63<option value="fib.go">Fibonacci Closure</option>
64<option value="peano.go">Peano Integers</option>
65<option value="pi.go">Concurrent pi</option>
66<option value="sieve.go">Concurrent Prime Sieve</option>
67<option value="solitaire.go">Peg Solitaire Solver</option>
68<option value="tree.go">Tree Comparison</option>
69</select>
70</div>
71</div>
72</div>
73<div class="right">
74<div id="about">
75Goはシンプルで、信頼でき、効率的なソフトウェアを構築しやすくするオープンソースのプログラミング言語です。
76</div>
77<div id="gopher"></div>
78<a href="/doc/install.html" id="start">
79<span class="big">Download Go</span>
80<span class="desc">
81Linux, Mac OS X, Windowsなどで<br/>
82利用できます
83</span>
84</a>
85<p>
86本サイトは <a href="https://golang.org/">golang.org</a> の<a href="/status/translate.html">日本語訳</a>です。利用に当たっては <a href="/doc/tos.html">利用規約</a>を御覧ください。
87</p>
88</div>
89<div style="clear: both"></div>
90<div class="left">
91<div id="video">
92<div class="rootHeading">Featured video</div>
93<iframe allowfullscreen="" frameborder="0" height="241" src="https://www.youtube.com/embed/ytEkHepK08c" width="415"></iframe>
94</div>
95</div>
96<div class="right">
97<div id="blog">
98<div class="rootHeading">Featured articles</div>
99<div class="read"><a href="https://blog.golang.org/">Read more</a></div>
100</div>
101</div>
102<div style="clear: both;"></div>
103<script type="text/javascript">
104function readableTime(t) {
105	var m = ["January", "February", "March", "April", "May", "June", "July",
106		"August", "September", "October", "November", "December"];
107	var p = t.substring(0, t.indexOf("T")).split("-");
108	var d = new Date(p[0], p[1]-1, p[2]);
109	return d.getDate() + " " + m[d.getMonth()] + " " + d.getFullYear();
110}
111function feedLoaded(result) {
112	var blog = document.getElementById("blog");
113	var read = blog.getElementsByClassName("read")[0];
114	for (var i = 0; i < result.length && i < 2; i++) {
115		var entry = result[i];
116		var title = document.createElement("a");
117		title.className = "title";
118		title.href = entry.Link;
119		title.innerHTML = entry.Title;
120		blog.insertBefore(title, read);
121		var extract = document.createElement("div");
122		extract.className = "extract";
123		extract.innerHTML = entry.Summary;
124		blog.insertBefore(extract, read);
125		var when = document.createElement("div");
126		when.className = "when";
127		when.innerHTML = "Published " + readableTime(entry.Time);
128		blog.insertBefore(when, read);
129	}
130}
131window.initFuncs.push(function() {
132	// Set up playground if enabled.
133	if (window.playground) {
134		window.playground({
135			"codeEl":        "#learn .code",
136			"outputEl":      "#learn .output",
137			"runEl":         "#learn .run",
138			"shareEl":       "#learn .share",
139			"shareRedirect": "http://play.golang.org/p/",
140			"toysEl":        "#learn .toys select"
141		});
142	} else {
143		$('#learn').hide()
144	}
145	// Load blog feed.
146	$('
146<script/>').attr('text', 'text/javascript')
147		.attr('src', 'http://blog.golang.org/.json?jsonp=feedLoaded')
148		.appendTo('body');
149	// Set the video at random.
150	var videos = [
151		{h: 241, s: "http://www.youtube.com/embed/ytEkHepK08c"}, // Tour of Go
152		{h: 241, s: "http://www.youtube.com/embed/f6kdp27TYZs"}, // Concurrency Patterns
153		{h: 233, s: "http://player.vimeo.com/video/69237265"}    // Simple environment
154	];
155	var v = videos[Math.floor(Math.random()*videos.length)];
156	$('#video iframe').attr('height', v.h).attr('src', v.s);
157});
158</script>
158
159<div id="footer">
160Build version go1.3.<br/>
161Except as <a href="https://developers.google.com/site-policies#restrictions">noted</a>,
162the content of this page is licensed under the
163Creative Commons Attribution 3.0 License,
164and code is licensed under a <a href="/LICENSE.html">BSD license</a>.<br/>
165<a href="/doc/tos.html">Terms of Service</a> | 
166<a href="https://www.google.com/intl/en/policies/privacy/">Privacy Policy</a>
167</div>
168</div><!-- .container -->
169</div><!-- #page -->
170<!-- TODO(adonovan): load these from <head> using "defer" attribute? -->
171<script src="/lib/godoc/jquery.js" type="text/javascript"></script>
vendor: 2 bytes, line 171
171
172<script src="/lib/godoc/jquery.treeview.js" type="text/javascript"></script>
vendor: 2 bytes, line 172
172
173<script src="/lib/godoc/jquery.treeview.edit.js" type="text/javascript"></script>
vendor: 2 bytes, line 173
173
174<script src="/lib/godoc/playground.js" type="text/javascript"></script>
vendor: 2 bytes, line 174
174
175<script src="/lib/godoc/godocs.js" type="text/javascript"></script>
vendor: 2 bytes, line 175
175
176<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"e2057314cc964d18ba54557eb90c2937","r":1,"spa":2}' crossorigin="anonymous"></script>
176
177</body>
178</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.