ParseAPI parses general api info for given searchDir and mainAPIFile.
(searchDir string, mainAPIFile string, parseDepth int)
| 379 | |
| 380 | // ParseAPI parses general api info for given searchDir and mainAPIFile. |
| 381 | func (parser *Parser) ParseAPI(searchDir string, mainAPIFile string, parseDepth int) error { |
| 382 | return parser.ParseAPIMultiSearchDir([]string{searchDir}, mainAPIFile, parseDepth) |
| 383 | } |
| 384 | |
| 385 | // skipPackageByPrefix returns true the given pkgpath does not match |
| 386 | // any user-defined package path prefixes. |