go/src/cmd/go/internal/bug/bug.go

var CmdBug

func init() {}

func runBug(ctx context.Context, cmd *base.Command, args []string) {}

const bugHeader

const bugFooter

func printGoVersion(w io.Writer) {}

func printEnvDetails(w io.Writer) {}

func printGoEnv(w io.Writer) {}

func printGoDetails(w io.Writer) {}

func printOSDetails(w io.Writer) {}

func printCDetails(w io.Writer) {}

// printCmdOut prints the output of running the given command.
// It ignores failures; 'go bug' is best effort.
func printCmdOut(w io.Writer, prefix, path string, args ...string) {}

// firstLine returns the first line of a given byte slice.
func firstLine(buf []byte) []byte {}

// printGlibcVersion prints information about the glibc version.
// It ignores failures.
func printGlibcVersion(w io.Writer) {}