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:
Daved 2015-04-23 09:50:48 -07:00
parent 3699e12530
commit c55a706513
4 changed files with 14 additions and 9 deletions

View file

@ -71,6 +71,7 @@ source files that represent a single Go package.
The `-type` flag accepts a comma-separated list of types so a single run can
generate methods for multiple types. The default output file is t_jsonenums.go,
where t is the lower-cased name of the first type listed. The suffix can be
overridden with the `-suffix` flag.
overridden with the `-suffix` flag and a prefix may be added with the `-prefix`
flag.
This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.