Added prefix flag, and updated file name output. Changed parser
package's ParsePackage to take prefix and updated related skip conditional. Also updated args in call to ParsePackage within server. Last paragraph of main package comment was updated, along with the second to last paragraph of readme.
This commit is contained in:
parent
3699e12530
commit
c55a706513
4 changed files with 14 additions and 9 deletions
|
@ -47,7 +47,7 @@ func generateHandler(w http.ResponseWriter, r *http.Request) error {
|
|||
}
|
||||
defer os.RemoveAll(dir)
|
||||
|
||||
pkg, err := parser.ParsePackage(dir, "")
|
||||
pkg, err := parser.ParsePackage(dir, "", "")
|
||||
if err != nil {
|
||||
return fmt.Errorf("parse package: %v", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue