diff --git a/g_docs.go b/g_docs.go index bff0d5e..fbc22b3 100644 --- a/g_docs.go +++ b/g_docs.go @@ -95,7 +95,7 @@ func parsePackagesFromDir(dirpath string) { return nil } - if !strings.Contains(fpath, "vendor") { + if !strings.Contains(fpath, "vendor") && !strings.Contains(fpath, "tests") { err = parsePackageFromDir(fpath) if err != nil { // Send the error to through the channel and continue walking