Add tags feature to readme
This commit is contained in:
parent
4e8191b8dd
commit
51a86dde3d
1 changed files with 2 additions and 0 deletions
|
@ -225,6 +225,7 @@ not to pass them through the command line or environment variables:
|
|||
| pkgname | "models" |
|
||||
| output | "models" |
|
||||
| exclude | [ ] |
|
||||
| tags | [ ] |
|
||||
| debug | false |
|
||||
| no-hooks | false |
|
||||
| no-tests | false |
|
||||
|
@ -265,6 +266,7 @@ Flags:
|
|||
--no-tests Disable generated go test files
|
||||
-o, --output string The name of the folder to output to (default "models")
|
||||
-p, --pkgname string The name you wish to assign to your generated package (default "models")
|
||||
-t, --tag stringSlice Struct tags to be included on your models in addition to json, yaml, toml
|
||||
```
|
||||
|
||||
Follow the steps below to do some basic model generation. Once we've generated
|
||||
|
|
Loading…
Reference in a new issue