diff --git a/doc/all.css b/doc/all.css new file mode 100644 index 0000000000..dc632ef973 --- /dev/null +++ b/doc/all.css @@ -0,0 +1,151 @@ +body { + font-family: "Bitstream Vera Sans", Verdana, sans-serif; + font-size: 81.25%; + line-height: 1.23em; + padding: 0; + margin: 1.23em; +} +a { + color: #04a; + text-decoration: none; +} +a:visited { + color: #04a; +} +a:hover { + color: #a40; + text-decoration: underline; +} +a:active { + color: #c00; +} +#container { + width: 76em; + margin: auto; +} +#topnav { + height: 55px; +} +#branding-logo { + width: 50%; + margin: 0; + padding: 0; + height: 55px; + background: url(/doc/logo.png) no-repeat; +} +#branding-logo a { + display: block; + width: 100%; + height: 55px; +} +#branding-logo span { + display: none; +} +#nav-main { + position: relative; + top: -60px; + width: 50%; + margin-left: 50%; + text-align: center; +} +#nav-main ul { + padding-left: 0; + margin-left: 0; + margin-bottom: 0.5em; +} +#nav-main li a { + display: inline; + display: inline-block; + padding: .46em .62em .38em .62em; +} +#nav-main li a:link, +#nav-main li a:visited { + color: #000; +} +#nav-main li { + display: inline; + display: inline-block; + background: #e6e6e6 url(/doc/button_background.png) repeat-x; + border: solid 1px #999; + margin-left: -1px; + text-shadow: #fff 0 1px 0; + box-shadow: 0 1px 1px #ccc; + -moz-box-shadow: 0 1px 1px #ccc; + -webkit-box-shadow: 0 1px 1px #ccc; +} +#nav-main li:first-child { + -moz-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; +} +#nav-main li:last-child { + -moz-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -moz-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; +} +#nav-main .quickref { color: #444; } +#search { + width: 100px; + margin-left: 0.5em; +} +#search.inactive { + text-align: center; + color: #444; +} + +#content { + padding: 0; + position: relative; + margin-top: 1.5em; + margin-bottom: 1.5em; + border-top: solid 1px #aaa; + border-bottom: solid 1px #aaa; +} +#site-info { + position: relative; + text-align: center; +} +#site-info, #site-info a:link, #site-info a:visited { + color: #aaa; +} +#nav table { + width: 100%; +} + +#content h1 { + margin-bottom: -0em; + padding: 0; +} +#content h2 { + border-top: 1px solid #ddd; + background: #E2E7F0; + padding: 2px 5px 5px; + margin: 1.5em 0 0; +} +#content .subtitle { margin-top: 1em; display: block; } + +.navtop a { + font-weight: normal; font-size: 7pt; + float: right; color: #999; +} + +code, pre { font-size: 1.2em; } +pre { background: #F0F0F0; padding: 0.5em 1em; } +pre.ebnf, pre.grammar { background: #FFFFE0; } + +.detail { + padding: 0.25em 1em; + background: #F4F4F4; +} + +.left-column { + width: 48%; + float: left; +} +.right-column { + width: 48%; + float: right; +} +.end-columns { clear: both; } diff --git a/doc/button_background.png b/doc/button_background.png new file mode 100644 index 0000000000..86a3b3086a Binary files /dev/null and b/doc/button_background.png differ diff --git a/doc/community.html b/doc/community.html new file mode 100644 index 0000000000..c3b16cacbc --- /dev/null +++ b/doc/community.html @@ -0,0 +1,53 @@ + + +
+ +

The Go Community

+ +

Go Nuts Mailing List

+

The golang-nuts +mailing list is for general Go discussion.

+ +

Go Packages Dashboard

+

A list of the most popular goinstall'd +Go libraries.

+ +

Go Project Dashboard

+

A list of external Go projects including programs and libraries.

+ +

Go IRC Channel

+

#go-nuts on irc.freenode.net is the official Go IRC channel.

+ +

@go_nuts at Twitter

+

The Go project's official Twitter account.

+ +
+ +
+ +

Blogs

+ +

The Go Blog

+

+The Go project's official blog, maintained by the core Go developers. +

+ +

research!rsc

+

+Posts labelled 'Go' by Russ Cox, one of the core Go developers. +

+ +

Airs

+

+Posts labelled 'Programming' by Ian Lance Taylor, one of the core Go developers. +

+ +

nf.id.au

+

+Posts labelled 'Go' by Andrew Gerrand, one of the core Go developers. +

+ +
+ +
+ diff --git a/doc/contrib.html b/doc/contrib.html new file mode 100644 index 0000000000..121cc45dcd --- /dev/null +++ b/doc/contrib.html @@ -0,0 +1,45 @@ + + +
+ +

Resources for Developers

+ +

Issue Tracker

+

Having an issue with Go? Check the tracker to see if it's a known issue.

+

If your issue is not listed, please file a bug report.

+ +

Build Status

+

View the status of Go builds across the supported operating +systems and architectures.

+ +

Contribution Guidelines

+

So, you want to contribute code to the Go project? That's great!

+

The first step is to read these contributions guidelines for information on +design, testing, and our code review process.

+ +
+ +
+ +

The Go Project

+ +

Roadmap

+

Features and ideas being developed or discussed by the Go team.

+ +

Release History

+

A summarization of the changes between tagged releases of Go.

+ +

Developer Mailing List

+

The golang-dev +mailing list is for discussing and reviewing code for the Go project.

+

For general discussion of Go programming, see golang-nuts.

+ +

Checkins Mailing List

+

A mailing list that receives a message summarizing each checkin to the Go repository.

+ +
+ +
+ diff --git a/doc/contribute.html b/doc/contribute.html index 6814274bae..4758a0896b 100644 --- a/doc/contribute.html +++ b/doc/contribute.html @@ -1,4 +1,4 @@ - +

Introduction

diff --git a/doc/go_learning.html b/doc/docs.html similarity index 74% rename from doc/go_learning.html rename to doc/docs.html index 78a1ba94b0..ae27dd2de0 100644 --- a/doc/go_learning.html +++ b/doc/docs.html @@ -1,42 +1,21 @@ - - + + +
+ +

Learning Go

-

Recommendations

-If you're new to Go, we recommend following the -tutorial while consulting the -language spec. -Then read Effective Go, as it addresses many -common beginner questions. +If you're new to Go, we recommend you work through the +tutorial. The +language specfication has all the details should +you want to explore.

- -

Reference Materials

-

Keep these under your pillow.

- -

Package Documentation

-The built-in documentation for the Go standard library. +Once you've learned a little about the language, +Effective Go will help you learn the style and +idioms of programming in Go.

-

Command Documentation

-

-The built-in documentation for the Go tools. -

- -

Language Specification

-

-The official Go Language specification. -

- -

The Go Memory Model

-

-A document that specifies the conditions under which reads of a variable in -one goroutine can be guaranteed to observe values produced by writes to the -same variable in a different goroutine. -

- -

Tutorials

-

A Tutorial for the Go Programming Language

The first tutorial. An introductory text that touches upon several core @@ -51,6 +30,11 @@ A must read for any new Go programmer. It augments the tutorial and the language spec, both of which should be read first.

+

How to write Go code

+

+How to write a new package and how to test code. +

+

Codelab: Writing Web Applications

This codelab takes the reader through the creation of a simple wiki web @@ -63,13 +47,24 @@ and closures. An introduction to Go for C++ programmers.

-

How to write Go code

+

Frequently Asked Questions

+ +

Go FAQ

-How to write a new package and how to test code. +Answers to common questions about Go.

+

Programming FAQ

+

+Answers to common questions about programming with Go. +

-

Documentation in languages other than English

+

Language Design FAQ

+

+Answers to common questions about the design decisions behind Go. +

+ +

Non-English Documentation

Eine Anleitung zum Programmieren in Go

@@ -86,39 +81,40 @@ A German translation of the Effective Go document. A German translation of the How to Write Go Code document.

- -

Frequently Asked Questions

- -

Go FAQ

+

Effective Go and Tutorial, a Chinese Translation

-Answers to common questions about Go. +A Chinese translation of both the Effective Go and Go Tutorial documents.

-

Language Design FAQ

+
+ + +
+ +

References

+ +

Keep these under your pillow.

+ +

Package Documentation

-Answers to common questions about the design decisions behind Go. +The built-in documentation for the Go standard library.

-

Programming FAQ

+

Command Documentation

-Answers to common questions about programming with Go. +The built-in documentation for the Go tools.

-

Development

- -

Contributing to the Go project

+

Language Specification

-How to contribute changes to the Go project. +The official Go Language specification.

-

Roadmap

+

The Go Memory Model

-Features and ideas being developed or discussed by the Go team. -

- -

Release History

-

-A summarization of the changes between tagged releases of Go. +A document that specifies the conditions under which reads of a variable in +one goroutine can be guaranteed to observe values produced by writes to the +same variable in a different goroutine.

Videos and Talks

@@ -170,30 +166,6 @@ does. A short promotional video featuring Russ Cox demonstrating Go's fast compiler.

-

Codewalks

+
-

Share Memory By Communicating

-

-A demonstration of the practical use of goroutines and channels. -

- -

How to write a Codewalk

-

-A self-describing Codewalk. -

- - -

Blog Posts

-

-Articles about Go from external blogs. -

- -

Go articles at research!rsc

-

-Posts labelled 'Go' by Russ Cox, one of the core Go developers. -

- -

Programming articles at Airs

-

-Posts labelled 'Programming' by Ian Lance Taylor, one of the core Go developers. -

+
diff --git a/doc/frontpage.css b/doc/frontpage.css new file mode 100644 index 0000000000..bc29f48881 --- /dev/null +++ b/doc/frontpage.css @@ -0,0 +1,125 @@ +#content-introductory code { + font-family: "Bitstream Vera Sans Mono", "Andale Mono", monospace; +} +#content-introductory input, select, textarea { + font-family: "Bitstream Vera Sans", Verdana, sans-serif; + font-size: 1em; +} +span.keyword { + font-family: Cambria, Georgia, Times, "Times New Roman", serif; + font-size: 1.15em; + font-style: italic; +} +#content h3, #content h2 { + margin: 0; + font-size: 1em; + background: none; + border: none; + padding: 0; +} +#content .more { + color: #999; + font-weight: normal; +} +#frontpage h2#branding-tagline { + font-weight: normal; + font-style: italic; +} +#resources { + position: relative; + margin-top: 1em; +} +#resources h3 { + margin-top: 0; + margin-bottom: -.5em; + font-size: 1em; + font-weight: normal; +} +#resources-users { + float: left; + width: 48%; +} +#resources-contributors { + float: right; + width: 50%; +} +#resources ul { + padding-left: 2em; +} +#resources li { + margin-bottom: 0.5em; +} +#content-rotating { + height: 200px; +} +#content-videos { + float: left; + width: 170px; +} +#content-videos .thumbnail { + width: 150px; + height: 103px; + background-repeat: no-repeat; + border: none; +} +#content-videos .thumbnail._001 { + background: url(/doc/video-001.png); +} +#content-videos .thumbnail._002 { + background: url(/doc/video-002.png); +} +#content-videos .thumbnail._003 { + background: url(/doc/video-003.png); +} +#content-videos a.video { + display: inline-block; + width: 150px; + margin-right: .30em; + margin-top: 1.2em; +} +#content-videos a.video .caption { + display: block; + text-align: center; +} +#content-videos a.video .caption.title { + margin-top: .31em; + font-weight: bold; +} +#content-blog ul { + margin-top: 1em; + margin-left: 0; + padding-left: 0; +} +#content-blog li { + list-style: none; + margin-bottom: 1em; +} +#content-blog li a { + color: #999; + text-decoration: none; +} +#content-blog .date { + color: #999; + font-size: 0.8em; + display: inline-block; + margin-left: 0.5em; +} +#content-blog li a:link .title { + color: #04a; +} +#content-blog li a:visited .title { + color: #04a; +} +#content-blog li a:hover .title { + color: #a40; + text-decoration: underline; +} +#content-blog li a:active .title { + color: #c00; +} + +.navtop { + display: none !important; +} + +.unsupported { font-weight: bold; color: red; } diff --git a/doc/go_faq.html b/doc/go_faq.html index 4f11baa80e..5ca791c50e 100644 --- a/doc/go_faq.html +++ b/doc/go_faq.html @@ -1,5 +1,9 @@ +
+

Is your question not answered here? Try the Programming FAQ or the Language Design FAQ.

+
+

Origins

diff --git a/doc/go_lang_faq.html b/doc/go_lang_faq.html index b8deb15343..0eec50b005 100644 --- a/doc/go_lang_faq.html +++ b/doc/go_lang_faq.html @@ -1,5 +1,9 @@ +
+

Is your question not answered here? Try the Programming FAQ or the Go FAQ.

+
+

Origins

diff --git a/doc/go_programming_faq.html b/doc/go_programming_faq.html index 9ef5168253..736578ab5c 100644 --- a/doc/go_programming_faq.html +++ b/doc/go_programming_faq.html @@ -1,5 +1,9 @@ +
+

Is your question not answered here? Try the Go FAQ or the Language Design FAQ.

+
+

Pointers and Allocation

diff --git a/doc/godocs.js b/doc/godocs.js index b2fc1b357b..8b451547d6 100644 --- a/doc/godocs.js +++ b/doc/godocs.js @@ -11,17 +11,32 @@ /* We want to do some stuff on page load (after the HTML is rendered). So listen for that: */ -if (window.addEventListener){ - window.addEventListener('load', godocs_onload, false); -} else if (window.attachEvent){ - window.attachEvent('onload', godocs_onload); +function bindEvent(el, e, fn) { + if (el.addEventListener){ + el.addEventListener(e, fn, false); + } else if (el.attachEvent){ + el.attachEvent('on'+e, fn); + } } +bindEvent(window, 'load', godocs_onload); function godocs_onload() { + godocs_bindSearchEvents(); godocs_generateTOC(); godocs_addTopLinks(); } +function godocs_bindSearchEvents() { + var search = document.getElementById('search'); + function clearInactive() { + if (search.className == "inactive") { + search.value = ""; + search.className = ""; + } + } + bindEvent(search, 'focus', clearInactive); +} + /* Generates a table of contents: looks for h2 and h3 elements and generates * links. "Decorates" the element with id=="nav" with this table of contents. */ diff --git a/doc/ie.css b/doc/ie.css new file mode 100644 index 0000000000..bb89d54be2 --- /dev/null +++ b/doc/ie.css @@ -0,0 +1 @@ +#nav-main li { display: inline; } diff --git a/doc/install.html b/doc/install.html index 25be700d66..d184a7209b 100644 --- a/doc/install.html +++ b/doc/install.html @@ -1,4 +1,4 @@ - +

Introduction

@@ -8,6 +8,8 @@ This document explains how to check out the sources, build them on your own machine, and run them.

+
+

There are two distinct ways to experiment with Go. This document focuses on the gc Go @@ -64,11 +66,20 @@ The full set of supported combinations is listed in the discussion of environment variables below.

+
+

Install C tools, if needed

-

The Go tool chain is written in C. To build it, you need -to have GCC, the standard C libraries, the parser generator Bison, -make, awk, and the text editor ed installed. +

The Go tool chain is written in C. +To build it, you need these programs installed: +

On OS X, they can be @@ -76,18 +87,28 @@ installed as part of Xcode.

-

On Linux, use sudo apt-get install bison ed gawk gcc libc6-dev make -(or the equivalent on your Linux distribution). +

On Ubuntu/Debian, use sudo apt-get install bison ed gawk gcc libc6-dev make. +

+ +

Install Mercurial, if needed

+ +

+To perform the next step you must have Mercurial installed. (Check that you have an hg command.) This suffices to install Mercurial most systems: +

+
+sudo easy_install mercurial
+
+(On Ubuntu/Debian, you might try apt-get install python-setuptools +python-dev build-essential first. The Mercurial in your distribution's +package repository will most likely be old and broken.) +

+

+If that fails, try installing manually from the Mercurial Download page.

Fetch the repository

-If you do not have Mercurial installed (you do not have an hg command), -sudo easy_install mercurial works on most systems. -(On Ubuntu/Debian, you might try apt-get install python-setuptools python-dev build-essential gcc first.) -If that fails, visit the Mercurial Download page.

-

Go will install to a directory named go. Change to the directory that will be its parent and make sure the go directory does not exist. @@ -129,8 +150,11 @@ and the details on the last few lines will reflect the operating system, architecture, and root directory used during the install.

+
+

For more information about ways to control the build, see the discussion of environment variables below.

+

Writing programs

@@ -195,6 +219,7 @@ command line. The linker learns about them by reading hello.6.

+

To build more complicated programs, you will probably want to use a @@ -208,6 +233,28 @@ about contributing to the Go project gives more detail about the process of building and testing Go programs.

+
+ +

What's next

+ +

+Start by reading the Go Tutorial. +

+ +

+Build a web application by following the Wiki +Codelab. +

+ +

+Read Effective Go to learn about writing +idiomatic Go code. +

+ +

+For the full story, consult Go's extensive +documentation. +

Keeping up with releases

diff --git a/doc/logo.png b/doc/logo.png new file mode 100644 index 0000000000..076ce398eb Binary files /dev/null and b/doc/logo.png differ diff --git a/doc/play_overlay.png b/doc/play_overlay.png new file mode 100644 index 0000000000..20ef7f3996 Binary files /dev/null and b/doc/play_overlay.png differ diff --git a/doc/playground.html b/doc/playground.html new file mode 100644 index 0000000000..a1cdb70c37 --- /dev/null +++ b/doc/playground.html @@ -0,0 +1,27 @@ + + +
+

+The Go Playground is a web service that runs on +golang.org's servers. +The service receives a Go program, compiles, links, and runs the program inside +a sandbox, then returns the output. +

+ +

+There are limitations to the programs that can be run in the Playground. +They must be single-threaded (but they may use many goroutines). +There are also limits on execution time, and CPU and memory usage. +The Playground can access only a subset of the standard library +(notably absent are network and filesystem access). +Therefore, the only communication a Playground program has to the outside world +is via standard output. +

+ +
+ +
+ +
+ +
diff --git a/doc/root.html b/doc/root.html index 65869183cb..abfdc1dafa 100644 --- a/doc/root.html +++ b/doc/root.html @@ -1,125 +1,95 @@ - - - - - - - - - - - -
- - -
a systems programming language
expressive, concurrent, garbage-collected
-
- -
-

Go videos

-
- -
"Go Programming"
-
Google I/O Tech Talk
+ +
+
+

+ The Go programming language is an open source project to make + programmers more productive. Go is expressive, concise, clean, + and efficient. Its concurrency mechanisms make it easy to write + programs that get the most out of multicore and networked machines, + while its novel type system enables flexible and modular program + construction. Go compiles quickly to machine code yet has the + convenience of garbage collection and the power of run-time reflection. + It's a fast, statically typed, compiled language that feels like a + dynamically typed, interpreted language. +

+

Check it out!

+

+ Install Go now, or try it right here in your browser: [How does it work?]

+
+ +
+
+
+ +

Go Blog | More...

+
+
    +
+
+
+

Quick Links

+ +
+
-
- -
"Fast Compiles"
-
Go Promotional Video
-
-
- -
Go Youtube Channel
-
Screencasts and more
-
- More videos and talks. -
- -
- -
-

From the Go Blog:

-
Loading...
-
- -

Go is …

- -

… simple

-
-package main
-
-import "fmt"
-
-func main() {
-  fmt.Printf("Hello, 世界\n")
-}
- -

Go has a small, simple feature set, making it easy to learn.

- -

… fast

- -

-Go compilers produce fast code fast. Typical builds take a fraction of a second yet the resulting programs run nearly as quickly as comparable C or C++ code. -

- -

… concurrent

- -

-Go promotes writing systems and servers as sets of lightweight communicating -processes, called goroutines, with strong support from the language. Run -thousands of goroutines if you want—and say good-bye to stack overflows. -

- -

… safe

- -

Go is type safe and memory safe. Go has pointers but no pointer arithmetic. -For random access, use slices, which know their limits.

- -

… fun

- -

-Go has fast builds, clean syntax, garbage collection, -methods for any type, and run-time reflection. -It feels like a dynamic language but has the speed and safety of a static language. -It's a joy to use. -

- -

… open source

- -

-Go for it. -

- -
diff --git a/doc/style.css b/doc/style.css deleted file mode 100644 index 6829ff0a53..0000000000 --- a/doc/style.css +++ /dev/null @@ -1,308 +0,0 @@ -/* - Copyright 2009 The Go Authors. All rights reserved. - Use of this source code is governed by a BSD-style - license that can be found in the LICENSE file. -*/ - -/* ------------------------------------------------------------------------- */ -/* Styles meant to help page authors achieve beauty. */ - -a { - text-decoration: none; -} - -code, .code { - font-size: 100%; - font-family: monospace; - color: #0f398d; -} - -kbd { - font-size: 100%; - font-family: monospace; - font-weight: bold; -} - -pre.ebnf { - background-color: #ffffe9; -} - -pre.grammar { - background-color: #ffffe9; -} - -p.rule { - font-style: italic; -} - -span.event { - font-style: italic; -} - -span.alert { - color: #ff0000; -} - -body { - font: 13px Helvetica, Arial, sans-serif; - margin-bottom: 0px; -} - -h1 { - margin-top: 0; - padding-top: 0.75em; - margin-bottom: 0.75em; -} - -h2, h3, h4, h5, h6 { - font-family: Helvetica, Arial, sans-serif; - margin-bottom: 0.25em; -} - -h2 { - background-color: #e5ecf9; - margin-top: 2em; - border-top:1px solid #36C; - padding-left: 0.2em; -} - -pre { - font-size: 9pt; - background-color: #f8f8ff; - margin: 1em 0 0 0; - padding: .99em; - line-height: 125%; - overflow: auto; - word-wrap: break-word; -} - -li { - padding-bottom: 0.5em; -} - -li pre { - margin: 0.5em 0px 1em 0px; -} - -a:link { - color: #0f398d -} - -a:visited { - color: #0b2455 -} - -a:hover { - color: #0000ff -} - -/* ------------------------------------------------------------------------- */ -/* Styles used in the boilerplate-ish parts of pages. */ - -div#content { - margin-left: 20%; - padding: 0 1em 2em 1em; - margin-top: 0px; - margin-bottom: 0px; -/* - border-left: 2px solid #e5ecf9; - border-right: 2px solid #e5ecf9; - border-bottom: 2px solid #e5ecf9; -*/ -} - -#topnav { - margin: 0px; - padding-top: 0.2em; - width: 100%; - white-space: nowrap; - background-color: #ffffff; - border-bottom: 2px solid #36C; - font: bold 150% Helvetica, Arial, sans-serif; -} - -div#linkList { - margin-top: 1.5em; - padding-left: 0.5em; - font: 13px Helvetica, Arial, sans-serif; - float: left; - width: 18%; - background-color: #fffff0; - border: 2px solid #ba9836; -} - -div#linkList ul { - padding: 1px; - list-style-type: none; -} - -div#linkList li { - margin-left: 1em; - padding-bottom: 0.2em; -} - -div#linkList li.navhead { - font-weight: bold; - margin-left: 0px; - padding-bottom: 0.25em; -} - -#nav dl { - margin: 0 0.5em 0 0.5em; - padding: 0px; -} - -.navtop { - font-size: xx-small; - float: right; -} - -#footer { - margin: 2em 0 0 0; - text-align: center; - color: #555; - font-size: small; -} - -#footer p { - margin: 0px; -} - -#footer a { - color: #555; -} - -@media print { - div#linkList { - display: none; - } - .navtop { - display: none; - } - div#content { - margin-left: 0px; - border: none; - } -} - - -/* ------------------------------------------------------------------------- */ -/* Styles used by godoc */ - -table.layout { - border-width: 0px; - border-spacing: 0px; - padding: 0px; -} - -span.comment { - color: #0000a0; -} - -span.highlight { - font-weight: bold; - background-color: #ffffa0; -} - -span.subtitle { - font-weight: bold; - font-size: medium; -} - -/* same style as for gettingStarted */ -#menu { - margin-top: 1.5em; - margin-left: 1.75em; - margin-right: 0em; - float: right; - background-color: #fffff0; - padding-left: 1em; - padding-right: 1em; - padding-bottom: 0.75em; - border: 2px solid #ba9836; -} - -/* same color scheme as for gettingStarted */ -#content .popup { - position: absolute; - border: 1px solid #ba9836; - background-color: #fffff0; - margin-top: 3em; - padding: 3px; -} - -#content .identifier, -#content .type { - color: #008; -} - -/* ------------------------------------------------------------------------- */ -/* Styles for the frontpage */ - -#fp-videos { - margin-left: 1em; - margin-right: 0em; - float: right; - clear: right; - background-color: #fffff0; - padding-left: 1em; - padding-right: 1em; - padding-bottom: 0.75em; - border: 1px solid #ba9836; - width: 160px; -} - -#blog { margin-bottom: 1.5em; } -#blog h1 { font-size: 1.2em; padding-top: 0.7em; } -#blog #blogFeed a { display: block; margin-top: 1em; } - -#fp-videos h1 { - padding-top: 0.5em; - margin-bottom: 0.2em; - font-size: 1.2em; -} - -#fp-videos a img { - border: 1px solid blue; -} - -#fp-videos a.more { - text-align: center; - display: block; -} - -#frontpage { - width: 100%; -} - -#frontpage h3 { - margin-left: 3em; - font-size: 1.5em; - font-weight: normal; -} - -#blog { - float: right; - width: 160px; - background-color: ivory; - border: 1px solid #BA9836; - padding: 0 1em; - margin-left: 1em; - margin-bottom: 1em; -} -#blogFeed { - padding-bottom: 1em; -} - -.video { - padding: 5px 0; - text-align: center; -} -.video img { - margin-bottom: 5px; -} -.video .title { - font-weight: bold; -} -.video .title { -} diff --git a/doc/video-001.png b/doc/video-001.png new file mode 100644 index 0000000000..d3468bbe8f Binary files /dev/null and b/doc/video-001.png differ diff --git a/doc/video-002.png b/doc/video-002.png new file mode 100644 index 0000000000..4f7c5d1849 Binary files /dev/null and b/doc/video-002.png differ diff --git a/doc/video-003.png b/doc/video-003.png new file mode 100644 index 0000000000..3dff686029 Binary files /dev/null and b/doc/video-003.png differ diff --git a/doc/video-snap-fastcompiles.jpg b/doc/video-snap-fastcompiles.jpg deleted file mode 100644 index 94596def35..0000000000 Binary files a/doc/video-snap-fastcompiles.jpg and /dev/null differ diff --git a/doc/video-snap-gocoding.jpg b/doc/video-snap-gocoding.jpg deleted file mode 100644 index bfffb040fa..0000000000 Binary files a/doc/video-snap-gocoding.jpg and /dev/null differ diff --git a/doc/video-snap-io.jpg b/doc/video-snap-io.jpg deleted file mode 100644 index f2dff722b4..0000000000 Binary files a/doc/video-snap-io.jpg and /dev/null differ diff --git a/doc/video-snap-oscon.jpg b/doc/video-snap-oscon.jpg deleted file mode 100644 index b437cd7fda..0000000000 Binary files a/doc/video-snap-oscon.jpg and /dev/null differ diff --git a/lib/godoc/godoc.html b/lib/godoc/godoc.html index bb3c07fe01..ebe9b35bbb 100644 --- a/lib/godoc/godoc.html +++ b/lib/godoc/godoc.html @@ -1,136 +1,40 @@ - + - - - {Title|html-esc} - - - - + +The Go Programming Language + + + - - - - -
- - - - - - -
- Go Home Page - -
The Go Programming Language
-
- -
-
- - - -
+
+
+

The Go Programming Language

+ +
+
{.section Menu} +
+

Build version {Version|html-esc}. Except as noted, this content is licensed under a Creative Commons Attribution 3.0 License.

+
- - -