gotools/cmd/bundle/main.go

var outputFile

var dstPath

var pkgName

var prefix

var buildTags

var importMap

func init() {}

func addImportMap(s string) {}

func usage() {}

func main() {}

// isStandardImportPath is copied from cmd/go in the standard library.
func isStandardImportPath(path string) bool {}

var testingOnlyPackagesConfig

func bundle(src, dst, dstpkg, prefix, buildTags string) ([]byte, error) {}

// sourceRange returns the [beg, end) interval of source code
// belonging to decl (incl. associated comments).
func sourceRange(decl ast.Decl) (beg, end token.Pos) {}

func printComments(out *bytes.Buffer, comments []*ast.CommentGroup, pos, end token.Pos) {}

const infinity

func printLastComments(out *bytes.Buffer, comments []*ast.CommentGroup, pos token.Pos) {}

func printSameLineComment(out *bytes.Buffer, comments []*ast.CommentGroup, fset *token.FileSet, pos token.Pos) token.Pos {}

func quoteArgs(ss []string) []string {}

func containsSpace(s string) bool {}

type flagFunc

func (f flagFunc) Set(s string) error {}

func (f flagFunc) String() string {}