components/golang/docs/go.1
author Shawn Walker-Salas <shawn.walker@oracle.com>
Thu, 21 Jan 2016 09:20:59 -0800
changeset 5331 9c955076ffe3
permissions -rw-r--r--
PSARC/2015/203 Google Go version 1.5 21480408 sample-manifest COMPONENT_VERSION transforms cause erroneous results 22297561 we should add Go to userland

<?xml version="1.0" encoding="iso-8859-1"?>
<!--Arbortext, Inc., 1988-2008, v.4002-->
<!DOCTYPE refentry PUBLIC "-//Sun Microsystems//DTD SolBook-XML 3.7//EN" "xsolbook.dtd" [
<!ENTITY % ent SYSTEM "entities.ent">
%ent;
]>

<refentry id="go-1">
<refmeta><refentrytitle>go</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">25 Nov 2015</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&release;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.</refmiscinfo>
</refmeta>
<refnamediv>
<refname>go</refname><refpurpose>a tool for managing Go source code</refpurpose></refnamediv>
<refsynopsisdiv><title></title>
<synopsis>/usr/bin/go subcommand [arguments]</synopsis>
<synopsis>/usr/bin/go doc</synopsis>
<synopsis>/usr/bin/go doc &lt;pkg&gt;</synopsis>
<synopsis>/usr/bin/go doc &lt;sym&gt;[.&lt;method&gt;]</synopsis>
<synopsis>/usr/bin/go doc [&lt;pkg&gt;].&lt;sym&gt;[.&lt;method&gt;]</synopsis>
<synopsis>/usr/bin/go doc &lt;pkg&gt; &lt;sym&gt;[.&lt;method&gt;]</synopsis>
<synopsis>/usr/bin/go help</synopsis>
<synopsis>/usr/bin/go help [subcommand]</synopsis>
<synopsis>/usr/bin/go help [topic]</synopsis>
<synopsis>/usr/bin/go version</synopsis>
</refsynopsisdiv>
<refsect1 id="go-1-desc" role="description"><title></title>
<para><command>go</command> is a tool for managing Go source code.  The <command>go doc</command> subcommand gives you access to all of the documentation that comes with Go.  You can get more documentation, tutorials and community support online at &lt;https://golang.org/&gt;.</para>
</refsect1>
<refsect1 role="subcommands"><title></title>
<para>Only a few subcommands are documented here; refer to <command>go help</command> for a complete list of subcommands and topics, and refer to <command>go doc go</command> for complete documentation:</para>
<variablelist termlength="wholeline">
<varlistentry><term><command>go help</command> <replaceable>[subcommand|topic]</replaceable></term>
<listitem><para>Without any arguments, displays a list of subcommands and available topics.  Use <command>go help <replaceable>subcommand</replaceable></command> for more information about a subcommand.</para>
</listitem>
</varlistentry>
<varlistentry><term><command>go doc</command> <replaceable>[pkg|sym]</replaceable></term>
<listitem><para>Show documentation for package or symbol, or source in current directory if none specified.</para>
</listitem>
</varlistentry>
<varlistentry><term><command>go version</command></term>
<listitem><para>print Go version.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
</refentry>