diff --git a/cmd/gopath.go b/cmd/gopath.go index 8b196275e..124906e77 100644 --- a/cmd/gopath.go +++ b/cmd/gopath.go @@ -38,7 +38,6 @@ func getGopmPkgs(dirPath string, isTest bool) (pkgs map[string]*doc.Pkg, err err imports := doc.GetAllImports([]string{dirPath}, ".", false) pkgs = make(map[string]*doc.Pkg) for _, name := range imports { - println(name) if name == "C" { continue } diff --git a/doc/utils.go b/doc/utils.go index 16c87593e..7cc054e83 100644 --- a/doc/utils.go +++ b/doc/utils.go @@ -68,7 +68,6 @@ func GetImports(absPath, importPath string, example bool) []string { imports := make([]string, 0, len(pkg.Imports)) for _, p := range pkg.Imports { - println(p, IsGoRepoPath(p), importPath) if !IsGoRepoPath(p) && !strings.HasPrefix(p, importPath) { imports = append(imports, p) }