~ubuntu-branches/ubuntu/utopic/golang/utopic

« back to all changes in this revision

Viewing changes to src/cmd/go/help.go

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-08-20 14:06:23 UTC
  • mfrom: (14.1.23 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130820140623-b414jfxi3m0qkmrq
Tags: 2:1.1.2-2ubuntu1
* Merge from Debian unstable (LP: #1211749, #1202027). Remaining changes:
  - 016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.
  - d/control,control.cross: Update Breaks/Replaces for Ubuntu
    versions to ensure smooth upgrades, regenerate control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
Otherwise, the import path P denotes the package found in
22
22
the directory DIR/src/P for some DIR listed in the GOPATH
23
 
environment variable (see 'go help gopath'). 
 
23
environment variable (see 'go help gopath').
24
24
 
25
25
If no import paths are given, the action applies to the
26
26
package in the current directory.
27
27
 
28
28
The special import path "all" expands to all package directories
29
 
found in all the GOPATH trees.  For example, 'go list all' 
 
29
found in all the GOPATH trees.  For example, 'go list all'
30
30
lists all the packages on the local system.
31
31
 
32
32
The special import path "std" is like all but expands to just the
68
68
 
69
69
A few common code hosting sites have special syntax:
70
70
 
71
 
        BitBucket (Mercurial)
 
71
        Bitbucket (Git, Mercurial)
72
72
 
73
73
                import "bitbucket.org/user/project"
74
74
                import "bitbucket.org/user/project/sub/directory"
186
186
On Windows, the value is a semicolon-separated string.
187
187
On Plan 9, the value is a list.
188
188
 
189
 
GOPATH must be set to build and install packages outside the
 
189
GOPATH must be set to get, build and install packages outside the
190
190
standard Go tree.
191
191
 
192
192
Each directory listed in GOPATH must have a prescribed structure:
232
232
                    bar.a          (installed package object)
233
233
 
234
234
Go searches each directory listed in GOPATH to find source code,
235
 
but new packages are always downloaded into the first directory 
 
235
but new packages are always downloaded into the first directory
236
236
in the list.
237
237
        `,
238
238
}