Skip to content

Commit

Permalink
doc: add write_generate_directive flag in README
Browse files Browse the repository at this point in the history
  • Loading branch information
damianopetrungaro committed Aug 11, 2023
1 parent 50aba74 commit 0c16ba5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ It supports the following flags:

- `-write_package_comment`: Writes package documentation comment (godoc) if true. (default true)

- `-write_generate_directive`: Put the //go:generate directive into the generated code. (default false)

- `-write_source_comment`: Writes original file (source mode) or interface names (reflect mode) comment if true. (default true)

- `-typed`: Generate Type-safe 'Return', 'Do', 'DoAndReturn' function. (default false)
Expand Down

0 comments on commit 0c16ba5

Please sign in to comment.