Commit a3aaa189 authored by Mohit Agarwal's avatar Mohit Agarwal Committed by Ian Lance Taylor

cmd/go: run mkalldocs.sh

Follow-up to CL 32114

Change-Id: I75247ed9c1c0a0e8a278eb75a60d4c5bee355409
Reviewed-on: https://go-review.googlesource.com/32690Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent fc2e282c
...@@ -598,6 +598,8 @@ ...@@ -598,6 +598,8 @@
// SwigFiles []string // .swig files // SwigFiles []string // .swig files
// SwigCXXFiles []string // .swigcxx files // SwigCXXFiles []string // .swigcxx files
// SysoFiles []string // .syso object files to add to archive // SysoFiles []string // .syso object files to add to archive
// TestGoFiles []string // _test.go files in package
// XTestGoFiles []string // _test.go files outside package
// //
// // Cgo directives // // Cgo directives
// CgoCFLAGS []string // cgo: flags for C compiler // CgoCFLAGS []string // cgo: flags for C compiler
...@@ -608,20 +610,23 @@ ...@@ -608,20 +610,23 @@
// CgoPkgConfig []string // cgo: pkg-config names // CgoPkgConfig []string // cgo: pkg-config names
// //
// // Dependency information // // Dependency information
// Imports []string // import paths used by this package // Imports []string // import paths used by this package
// Deps []string // all (recursively) imported dependencies // Deps []string // all (recursively) imported dependencies
// TestImports []string // imports from TestGoFiles
// XTestImports []string // imports from XTestGoFiles
// //
// // Error information // // Error information
// Incomplete bool // this package or a dependency has an error // Incomplete bool // this package or a dependency has an error
// Error *PackageError // error loading package // Error *PackageError // error loading package
// DepsErrors []*PackageError // errors loading dependencies // DepsErrors []*PackageError // errors loading dependencies
//
// TestGoFiles []string // _test.go files in package
// TestImports []string // imports from TestGoFiles
// XTestGoFiles []string // _test.go files outside package
// XTestImports []string // imports from XTestGoFiles
// } // }
// //
// Packages stored in vendor directories report an ImportPath that includes the
// path to the vendor directory (for example, "d/vendor/p" instead of "p"),
// so that the ImportPath uniquely identifies a given copy of a package.
// The Imports, Deps, TestImports, and XTestImports lists also contain these
// expanded imports paths. See golang.org/s/go15vendor for more about vendoring.
//
// The error information, if any, is // The error information, if any, is
// //
// type PackageError struct { // type PackageError struct {
...@@ -1343,6 +1348,9 @@ ...@@ -1343,6 +1348,9 @@
// - "cmd" expands to the Go repository's commands and their // - "cmd" expands to the Go repository's commands and their
// internal libraries. // internal libraries.
// //
// Import paths beginning with "cmd/" only match source code in
// the Go repository.
//
// An import path is a pattern if it includes one or more "..." wildcards, // An import path is a pattern if it includes one or more "..." wildcards,
// each of which can match any string, including the empty string and // each of which can match any string, including the empty string and
// strings containing slashes. Such a pattern expands to all package // strings containing slashes. Such a pattern expands to all package
...@@ -1500,6 +1508,15 @@ ...@@ -1500,6 +1508,15 @@
// To profile all memory allocations, use -test.memprofilerate=1 // To profile all memory allocations, use -test.memprofilerate=1
// and pass --alloc_space flag to the pprof tool. // and pass --alloc_space flag to the pprof tool.
// //
// -mutexprofile mutex.out
// Write a mutex contention profile to the specified file
// when all tests are complete.
// Writes test binary as -c would.
//
// -mutexprofilefraction n
// Sample 1 in n stack traces of goroutines holding a
// contended mutex.
//
// -outputdir directory // -outputdir directory
// Place output files from profiling in the specified directory, // Place output files from profiling in the specified directory,
// by default the directory in which "go test" is running. // by default the directory in which "go test" is running.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment