Home | History | Annotate | Download | only in go

Lines Matching refs:packages

16 // 	build       compile packages and dependencies
21 // fix run go tool fix on packages
24 // get download and install packages and dependencies
25 // install compile and install packages and dependencies
26 // list list packages
28 // test test packages
31 // vet run go tool vet on packages
43 // packages description of package lists
50 // Compile packages and dependencies
54 // go build [-o output] [-i] [build flags] [packages]
56 // Build compiles the packages named by the import paths,
68 // When compiling multiple packages or a single non-main package,
69 // build compiles the packages but discards the resulting object,
70 // serving only as a check that the packages can be built.
72 // When compiling packages, build ignores files that end in '_test.go'.
79 // The -i flag installs the packages that are dependencies of the target.
85 // force rebuilding of packages that are already up-to-date.
100 // print the names of packages as they are compiled.
130 // install and load all packages from dir instead of the usual locations.
132 // use -pkgdir to keep generated packages in a separate location.
145 // For more about specifying packages, see 'go help packages'.
146 // For more about where packages and binaries are installed,
164 // go clean [-i] [-r] [-n] [-x] [build flags] [packages]
198 // dependencies of the packages named by the import paths.
204 // For more about specifying packages, see 'go help packages'.
242 // For packages, the order of scanning is determined lexically in breadth-first order.
337 // Run go tool fix on packages
341 // go fix [packages]
343 // Fix runs the Go fix command on the packages named by the import paths.
346 // For more about specifying packages, see 'go help packages'.
357 // go fmt [-n] [-x] [packages]
359 // Fmt runs the command 'gofmt -l -w' on the packages named
363 // For more about specifying packages, see 'go help packages'.
377 // go generate [-run regexp] [-n] [-v] [-x] [build flags] [file.go... | packages]
449 // Generate processes packages in the order given on the command line,
470 // The -v flag prints the names of packages and files as they are
477 // For more about specifying packages, see 'go help packages'.
480 // Download and install packages and dependencies
484 // go get [-d] [-f] [-fix] [-insecure] [-t] [-u] [build flags] [packages]
486 // Get downloads the packages named by the import paths, along with their
487 // dependencies. It then installs the named packages, like 'go install'.
489 // The -d flag instructs get to stop after downloading the packages; that is,
490 // it instructs get not to install the packages.
497 // The -fix flag instructs get to run the fix tool on the downloaded packages
503 // The -t flag instructs get to also download the packages required to build
504 // the tests for the specified packages.
506 // The -u flag instructs get to use the network to update the named packages
508 // missing packages but does not use it to look for updates to existing packages.
529 // For more about specifying packages, see 'go help packages'.
537 // Compile and install packages and dependencies
541 // go install [build flags] [packages]
543 // Install compiles and installs the packages named by the import paths,
547 // For more about specifying packages, see 'go help packages'.
552 // List packages
556 // go list [-e] [-f format] [-json] [build flags] [packages]
558 // List lists the packages named by the import paths, one per line.
623 // Packages stored in vendor directories report an ImportPath that includes the
660 // The -e flag changes the handling of erroneous packages, those that
663 // omits the packages from consideration during the usual printing.
665 // error and instead processes the erroneous packages with the usual
666 // printing. Erroneous packages will have a non-empty ImportPath and
672 // For more about specifying packages, see 'go help packages'.
699 // Test packages
703 // go test [build/test flags] [packages] [build/test flags & test binary flags]
705 // 'Go test' automates testing the packages named by the import paths.
752 // Install packages that are dependencies of the test.
763 // For more about specifying packages, see 'go help packages'.
792 // Run go tool vet on packages
796 // go vet [-n] [-x] [build flags] [packages]
798 // Vet runs the Go vet command on the packages named by the import paths.
801 // For more about specifying packages, see 'go help packages'.
839 // Build the listed non-main packages into .a files. Packages named
843 // Build the listed main package, plus all packages it imports,
849 // Build the listed main packages, plus all packages that they
852 // Non-main packages are ignored.
855 // Listed main packages are built into executables and listed
856 // non-main packages are built into .a files (the default
860 // Combine all the listed non-main packages into a single shared
862 // option. Packages named main are ignored.
865 // Build the listed main packages and everything they import into
866 // executables. Packages not named main are ignored.
869 // Build the listed main packages and everything they import into
870 // position independent executables (PIE). Packages not named
874 // Build the listed main packages, plus all packages that they
875 // import, into a Go plugin. Packages not named main are ignored.
916 // package binary. This enables distribution of Go packages in
982 // but new packages are always downloaded into the first directory
1150 // An import path (see 'go help packages') denotes a package stored in the local
1166 // "go test ./..." to test all subdirectories. See 'go help packages' for details
1290 // New downloaded packages are written to the first directory listed in the GOPATH
1300 // known code hosting site, each of the resulting packages has two possible
1323 // Many commands apply to a set of packages:
1325 // go action [packages]
1327 // Usually, [packages] is a list of import paths.
1341 // for packages to be built with the go tool:
1346 // trees. For example, 'go list all' lists all the packages on the local
1349 // - "std" is like all but expands to just the packages in the standard
1363 // For example, net/... expands to net and packages in its subdirectories.
1375 // Packages in a program need not have unique package names,
1438 // Apply coverage analysis in each test to the given list of packages.
1440 // Packages are specified as import paths.
1453 // The 'go test' command may run tests for different packages