components/golang-17/docs/go.1
changeset 7518 c388d4e1d3ad
parent 5331 9c955076ffe3
equal deleted inserted replaced
7517:42ae3923b8fe 7518:c388d4e1d3ad
       
     1 <?xml version="1.0" encoding="iso-8859-1"?>
       
     2 <!--Arbortext, Inc., 1988-2008, v.4002-->
       
     3 <!DOCTYPE refentry PUBLIC "-//Sun Microsystems//DTD SolBook-XML 3.7//EN" "xsolbook.dtd" [
       
     4 <!ENTITY % ent SYSTEM "entities.ent">
       
     5 %ent;
       
     6 ]>
       
     7 
       
     8 <refentry id="go-1">
       
     9 <refmeta><refentrytitle>go</refentrytitle><manvolnum>1</manvolnum>
       
    10 <refmiscinfo class="date">25 Nov 2015</refmiscinfo>
       
    11 <refmiscinfo class="sectdesc">&man1;</refmiscinfo>
       
    12 <refmiscinfo class="software">&release;</refmiscinfo>
       
    13 <refmiscinfo class="arch">generic</refmiscinfo>
       
    14 <refmiscinfo class="copyright">Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.</refmiscinfo>
       
    15 </refmeta>
       
    16 <refnamediv>
       
    17 <refname>go</refname><refpurpose>a tool for managing Go source code</refpurpose></refnamediv>
       
    18 <refsynopsisdiv><title></title>
       
    19 <synopsis>/usr/bin/go subcommand [arguments]</synopsis>
       
    20 <synopsis>/usr/bin/go doc</synopsis>
       
    21 <synopsis>/usr/bin/go doc &lt;pkg&gt;</synopsis>
       
    22 <synopsis>/usr/bin/go doc &lt;sym&gt;[.&lt;method&gt;]</synopsis>
       
    23 <synopsis>/usr/bin/go doc [&lt;pkg&gt;].&lt;sym&gt;[.&lt;method&gt;]</synopsis>
       
    24 <synopsis>/usr/bin/go doc &lt;pkg&gt; &lt;sym&gt;[.&lt;method&gt;]</synopsis>
       
    25 <synopsis>/usr/bin/go help</synopsis>
       
    26 <synopsis>/usr/bin/go help [subcommand]</synopsis>
       
    27 <synopsis>/usr/bin/go help [topic]</synopsis>
       
    28 <synopsis>/usr/bin/go version</synopsis>
       
    29 </refsynopsisdiv>
       
    30 <refsect1 id="go-1-desc" role="description"><title></title>
       
    31 <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>
       
    32 </refsect1>
       
    33 <refsect1 role="subcommands"><title></title>
       
    34 <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>
       
    35 <variablelist termlength="wholeline">
       
    36 <varlistentry><term><command>go help</command> <replaceable>[subcommand|topic]</replaceable></term>
       
    37 <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>
       
    38 </listitem>
       
    39 </varlistentry>
       
    40 <varlistentry><term><command>go doc</command> <replaceable>[pkg|sym]</replaceable></term>
       
    41 <listitem><para>Show documentation for package or symbol, or source in current directory if none specified.</para>
       
    42 </listitem>
       
    43 </varlistentry>
       
    44 <varlistentry><term><command>go version</command></term>
       
    45 <listitem><para>print Go version.</para>
       
    46 </listitem>
       
    47 </varlistentry>
       
    48 </variablelist>
       
    49 </refsect1>
       
    50 </refentry>