From 51a86dde3d64a12620bb61d6ffe4cbd068222251 Mon Sep 17 00:00:00 2001 From: Patrick O'brien Date: Sun, 4 Sep 2016 23:56:36 +1000 Subject: [PATCH] Add tags feature to readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d40d2a4..a3b8224 100644 --- a/README.md +++ b/README.md @@ -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