2010-09-16 14:01:02 +10:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!DOCTYPE html>  
						 
					
						
							
								
									
										
										
										
											2009-10-22 00:13:36 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< html >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< head >  
						 
					
						
							
								
									
										
										
										
											2010-09-16 14:01:02 +10:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< meta  http-equiv = "Content-Type"  content = "text/html; charset=utf-8" / >  
						 
					
						
							
								
									
										
										
										
											2010-10-25 18:11:00 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{.section Title}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < title > {@|html-esc} - The Go Programming Language< / title > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{.or}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < title > The Go Programming Language< / title > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{.end}
							 
						 
					
						
							
								
									
										
										
										
											2010-09-16 14:01:02 +10:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< link  rel = "stylesheet"  href = "/doc/all.css"  type = "text/css"  media = "all"  charset = "utf-8" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								<!-- [if lt IE 8]>
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< link  rel = "stylesheet"  href = "/doc/ie.css"  type = "text/css" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								<![endif]-->  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< script  type = "text/javascript"  src = "/doc/godocs.js" > < / script >  
						 
					
						
							
								
									
										
										
										
											2009-10-22 00:13:36 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / head >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< body >  
						 
					
						
							
								
									
										
										
										
											2010-09-16 14:01:02 +10:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< div  id = "container" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  id = "topnav" > 
							 
						 
					
						
							
								
									
										
										
										
											2010-09-22 10:43:01 +10:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < h1  id = "title" > The Go Programming Language< / h1 > 
							 
						 
					
						
							
								
									
										
										
										
											2010-09-16 14:01:02 +10:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < div  id = "nav-main" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < li > < a  href = "/" > Home< / a > < / li > < li > < a  href = "/doc/install.html" > Getting Started< / a > < / li > < li > < a  href = "/doc/docs.html" > Documentation< / a > < / li > < li > < a  href = "/doc/contrib.html" > Contributing< / a > < / li > < li > < a  href = "/doc/community.html" > Community< / a > < / li > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / ul > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < div  class = "quickref" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < form  method = "GET"  action = "/search" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        {.section PkgRoots}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        {.repeated section PkgRoots}
							 
						 
					
						
							
								
									
										
										
										
											2010-12-03 14:37:55 +11:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < a  href = "/pkg/{@|html-esc}" > {@|html-esc}< / a >  < span  class = "sep" > |< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2010-09-16 14:01:02 +10:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        {.end}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        {.or}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        References:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        {.end}
							 
						 
					
						
							
								
									
										
										
										
											2010-12-03 14:37:55 +11:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < a  href = "/pkg/" > Packages< / a >  < span  class = "sep" > |< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < a  href = "/cmd/" > Commands< / a >  < span  class = "sep" > |< / span > 
							 
						 
					
						
							
								
									
										
										
										
											2010-09-16 14:01:02 +10:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        < a  href = "/doc/go_spec.html" > Specification< / a > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < input  id = "search"  type = "text"  name = "q"  value = "{.section Query}{Query|html-esc}{.or}code search{.end}"  class = "{.section Query}{.or}inactive{.end}"  / > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < / form > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2010-09-22 10:43:01 +10:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < a  id = "logo-box"  href = "/" > < / a > 
							 
						 
					
						
							
								
									
										
										
										
											2010-09-16 14:01:02 +10:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  id = "content" > 
							 
						 
					
						
							
								
									
										
										
										
											2010-02-18 17:40:50 -08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Menu is HTML - escaped elsewhere  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  {.section Menu}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div  id = "menu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      {@}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  {.end}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2010-03-30 17:37:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  {.section Title}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < h1  id = "generatedHeader" > {@|html-esc}< / h1 > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  {.end}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  {.section Subtitle}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < span  class = "subtitle" > {@|html-esc}< / span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  {.end}
							 
						 
					
						
							
								
									
										
										
										
											2009-10-22 00:13:36 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2010-03-30 17:37:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < p > 
							 
						 
					
						
							
								
									
										
										
										
											2009-10-22 00:13:36 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  <!--  The Table of Contents is automatically inserted in this <div>.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       Do not delete this < div > . -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  id = "nav" > < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2010-03-30 17:37:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / p > 
							 
						 
					
						
							
								
									
										
										
										
											2009-10-22 00:13:36 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2009-10-28 12:52:52 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Content is HTML - escaped elsewhere  --> 
							 
						 
					
						
							
								
									
										
										
										
											2009-10-27 10:34:31 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  {Content}
							 
						 
					
						
							
								
									
										
										
										
											2010-09-16 14:01:02 +10:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < div  id = "site-info" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < p > Build version {Version|html-esc}. Except as noted, this content is licensed under a < a  rel = "license"  href = "http://creativecommons.org/licenses/by/3.0/" > Creative Commons Attribution 3.0 License< / a > .< / p > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < / div > 
							 
						 
					
						
							
								
									
										
										
										
											2009-10-22 00:13:36 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / body >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / html >