From 9892de104e4eefd000e302ddca31aa2097da7e78 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 11 Dec 2013 10:32:18 +0800 Subject: [PATCH] remove trace --- cmd/gopath.go | 1 - doc/utils.go | 1 - 2 files changed, 2 deletions(-) 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) }