github.com/varialus/godfly@v0.0.0-20130904042352-1934f9f095ab/doc/docs.html (about) 1 <!--{ 2 "Title": "Documentation", 3 "Path": "/doc/" 4 }--> 5 6 <p> 7 The Go programming language is an open source project to make programmers more 8 productive. 9 </p> 10 11 <p> 12 Go is expressive, concise, clean, and efficient. Its concurrency 13 mechanisms make it easy to write programs that get the most out of multicore 14 and networked machines, while its novel type system enables flexible and 15 modular program construction. Go compiles quickly to machine code yet has the 16 convenience of garbage collection and the power of run-time reflection. It's a 17 fast, statically typed, compiled language that feels like a dynamically typed, 18 interpreted language. 19 </p> 20 21 <div id="manual-nav"></div> 22 23 <h2>Installing Go</h2> 24 25 <h3><a href="/doc/install">Getting Started</a></h3> 26 <p> 27 Instructions for downloading and installing the Go compilers, tools, and 28 libraries. 29 </p> 30 31 32 <h2 id="learning">Learning Go</h2> 33 34 <img class="gopher" src="/doc/gopher/doc.png"/> 35 36 <h3 id="go_tour"><a href="http://tour.golang.org/">A Tour of Go</a></h3> 37 <p> 38 An interactive introduction to Go in three sections. 39 The first section covers basic syntax and data structures; the second discusses 40 methods and interfaces; and the third introduces Go's concurrency primitives. 41 Each section concludes with a few exercises so you can practice what you've 42 learned. You can <a href="http://tour.golang.org/">take the tour online</a> or 43 <a href="http://code.google.com/p/go-tour/">install it locally</a>. 44 </p> 45 46 <h3 id="code"><a href="code.html">How to write Go code</a></h3> 47 <p> 48 Also available as a 49 <a href="http://www.youtube.com/watch?v=XCsL89YtqCs">screencast</a>, this doc 50 explains how to use the <a href="/cmd/go/">go command</a> to fetch, build, and 51 install packages, commands, and run tests. 52 </p> 53 54 <h3 id="effective_go"><a href="effective_go.html">Effective Go</a></h3> 55 <p> 56 A document that gives tips for writing clear, idiomatic Go code. 57 A must read for any new Go programmer. It augments the tour and 58 the language specification, both of which should be read first. 59 </p> 60 61 <h3 id="ref"><a href="/ref/">Go References</a></h3> 62 <p>Language specification, memory model, and detailed documentation for the commands and packages.</p> 63 64 <h3 id="appengine"><a href="https://developers.google.com/appengine/docs/go/gettingstarted/">Getting Started with Go on App Engine</a></h3> 65 <p> 66 How to develop and deploy a simple Go project with 67 <a href="https://developers.google.com/appengine/">Google App Engine</a>. 68 </p> 69 70 <h3 id="go_faq"><a href="go_faq.html">Frequently Asked Questions (FAQ)</a></h3> 71 <p> 72 Answers to common questions about Go. 73 </p> 74 75 <h3 id="wiki"><a href="http://code.google.com/p/go-wiki/wiki">Go Language Community Wiki</a></h3> 76 <p>A wiki maintained by the Go community.</p> 77 78 <h2 id="go1">Go version 1</h2> 79 80 <h3 id="go1notes"><a href="/doc/go1.html">Go 1 Release Notes</a></h3> 81 <p> 82 A guide for updating your code to work with Go 1. 83 </p> 84 85 <h3 id="go1.1notes"><a href="/doc/go1.1.html">Go 1.1 Release Notes</a></h3> 86 <p> 87 A list of significant changes in Go 1.1, with instructions for updating your 88 code where necessary. 89 </p> 90 91 <h3 id="go1compat"><a href="/doc/go1compat.html">Go 1 and the Future of Go Programs</a></h3> 92 <p> 93 What Go 1 defines and the backwards-compatibility guarantees one can expect as 94 Go 1 matures. 95 </p> 96 97 <h2 id="articles">Go Articles</h2> 98 99 <h3 id="blog"><a href="http://blog.golang.org/">The Go Blog</a></h3> 100 <p>The official blog of the Go project, featuring news and in-depth articles by 101 the Go team and guests.</p> 102 103 <h4>Codewalks</h4> 104 <p> 105 Guided tours of Go programs. 106 </p> 107 <ul> 108 <li><a href="/doc/codewalk/functions">First-Class Functions in Go</a></li> 109 <li><a href="/doc/codewalk/markov">Generating arbitrary text: a Markov chain algorithm</a></li> 110 <li><a href="/doc/codewalk/sharemem">Share Memory by Communicating</a></li> 111 <li><a href="/doc/articles/wiki/">Writing Web Applications</a> - building a simple web application.</li> 112 </ul> 113 114 <h4>Language</h4> 115 <ul> 116 <li><a href="/doc/articles/json_rpc_tale_of_interfaces.html">JSON-RPC: a tale of interfaces</a></li> 117 <li><a href="/doc/articles/gos_declaration_syntax.html">Go's Declaration Syntax</a></li> 118 <li><a href="/doc/articles/defer_panic_recover.html">Defer, Panic, and Recover</a></li> 119 <li><a href="/doc/articles/concurrency_patterns.html">Go Concurrency Patterns: Timing out, moving on</a></li> 120 <li><a href="/doc/articles/slices_usage_and_internals.html">Go Slices: usage and internals</a></li> 121 <li><a href="http://blog.golang.org/2011/05/gif-decoder-exercise-in-go-interfaces.html">A GIF decoder: an exercise in Go interfaces</a></li> 122 <li><a href="/doc/articles/error_handling.html">Error Handling and Go</a></li> 123 </ul> 124 125 <h4>Packages</h4> 126 <ul> 127 <li><a href="/doc/articles/json_and_go.html">JSON and Go</a> - using the <a href="/pkg/encoding/json/">json</a> package.</li> 128 <li><a href="/doc/articles/gobs_of_data.html">Gobs of data</a> - the design and use of the <a href="/pkg/encoding/gob/">gob</a> package.</li> 129 <li><a href="/doc/articles/laws_of_reflection.html">The Laws of Reflection</a> - the fundamentals of the <a href="/pkg/reflect/">reflect</a> package.</li> 130 <li><a href="/doc/articles/image_package.html">The Go image package</a> - the fundamentals of the <a href="/pkg/image/">image</a> package.</li> 131 <li><a href="/doc/articles/image_draw.html">The Go image/draw package</a> - the fundamentals of the <a href="/pkg/image/draw/">image/draw</a> package.</li> 132 </ul> 133 134 <h4>Tools</h4> 135 <ul> 136 <li><a href="/doc/articles/go_command.html">About the Go command</a> - why we wrote it, what it is, what it's not, and how to use it.</li> 137 <li><a href="/doc/articles/c_go_cgo.html">C? Go? Cgo!</a> - linking against C code with <a href="/cmd/cgo/">cgo</a>.</li> 138 <li><a href="/doc/gdb">Debugging Go Code with GDB</a></li> 139 <li><a href="/doc/articles/godoc_documenting_go_code.html">Godoc: documenting Go code</a> - writing good documentation for <a href="/cmd/godoc/">godoc</a>.</li> 140 <li><a href="http://blog.golang.org/2011/06/profiling-go-programs.html">Profiling Go Programs</a></li> 141 <li><a href="/doc/articles/race_detector.html">Data Race Detector</a> - testing Go programs for race conditions.</li> 142 </ul> 143 144 <h2 id="talks">Talks</h2> 145 146 <img class="gopher" src="/doc/gopher/talks.png"/> 147 148 <p> 149 The talks marked with a red asterisk (<font color="red">*</font>) were written 150 before Go 1 and contain some examples that are no longer correct, but they are 151 still of value. 152 </p> 153 154 <h3 id="video_tour_of_go"><a href="http://research.swtch.com/gotour">A Video Tour of Go</a></h3> 155 <p> 156 Three things that make Go fast, fun, and productive: 157 interfaces, reflection, and concurrency. Builds a toy web crawler to 158 demonstrate these. 159 </p> 160 161 <h3 id="go_concurrency_patterns"><a href="http://www.youtube.com/watch?v=f6kdp27TYZs">Go Concurrency Patterns</a></h3> 162 <p> 163 Concurrency is the key to designing high performance network services. Go's concurrency primitives (goroutines and channels) provide a simple and efficient means of expressing concurrent execution. In this talk we see how tricky concurrency problems can be solved gracefully with simple Go code. 164 </p> 165 166 <h3 id="meet_the_go_team"><a href="http://www.youtube.com/watch?v=sln-gJaURzk">Meet the Go team</a></h3> 167 <p> 168 A panel discussion with David Symonds, Robert Griesemer, Rob Pike, Ken Thompson, Andrew Gerrand, and Brad Fitzpatrick. 169 </p> 170 171 <h3 id="writing_web_apps"><a href="http://www.youtube.com/watch?v=-i0hat7pdpk">Writing Web Apps in Go</a><font color="red">*</font></h3> 172 <p> 173 A talk by Rob Pike and Andrew Gerrand presented at Google I/O 2011. 174 It walks through the construction and deployment of a simple web application 175 and unveils the <a href="http://blog.golang.org/2011/05/go-and-google-app-engine.html">Go runtime for App Engine</a>. 176 See the <a href="http://talks.golang.org/2011/Writing_Web_Apps_in_Go.pdf">presentation slides</a>. 177 </p> 178 179 <h3 id="go_programming"><a href="http://www.youtube.com/watch?v=jgVhBThJdXc">Go Programming</a><font color="red">*</font></h3> 180 <p> 181 A presentation delivered by Rob Pike and Russ Cox at Google I/O 2010. It 182 illustrates how programming in Go differs from other languages through a set of 183 examples demonstrating features particular to Go. These include concurrency, 184 embedded types, methods on any type, and program construction using interfaces. 185 </p> 186 187 <h4 id="talks_more">More</h4> 188 <p> 189 See the <a href="http://code.google.com/p/go-wiki/wiki/GoTalks">GoTalks 190 page</a> at the <a href="http://code.google.com/p/go-wiki/wiki">Go Wiki</a> for 191 more Go talks. 192 </p> 193 194 <h2 id="nonenglish">Non-English Documentation</h2> 195 196 <p> 197 See the <a href="http://code.google.com/p/go-wiki/wiki/NonEnglish">NonEnglish</a> page 198 at the <a href="http://code.google.com/p/go-wiki/wiki">Go Wiki</a> for localized 199 documentation. 200 </p> 201 202 <h2 id="community">The Go Community</h2> 203 204 <img class="gopher" src="/doc/gopher/project.png"/> 205 206 <h3 id="mailinglist"><a href="http://groups.google.com/group/golang-nuts">Go Nuts Mailing List</a></h3> 207 <p>The <a href="http://groups.google.com/group/golang-nuts">golang-nuts</a> 208 mailing list is for general Go discussion.</p> 209 210 <h3 id="projects"><a href="http://code.google.com/p/go-wiki/wiki/Projects">Go Wiki Projects Page</a></h3> 211 <p>A list of external Go projects including programs and libraries.</p> 212 213 <h3 id="irc"><a href="irc:irc.freenode.net/go-nuts">Go IRC Channel</a></h3> 214 <p><b>#go-nuts</b> on <b>irc.freenode.net</b> is the official Go IRC channel.</p> 215 216 <h3 id="plus"><a href="https://plus.google.com/101406623878176903605/posts">The Go Programming Language at Google+</a></h3> 217 <p>The Go project's Google+ page.</p> 218 219 <h3 id="twitter"><a href="http://twitter.com/go_nuts">@go_nuts at Twitter</a></h3> 220 <p>The Go project's official Twitter account.</p>