Skip to content

Commit

Permalink
readme - added skip alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
brianvoe committed Oct 22, 2023
1 parent d048806 commit 429443e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ type Foo struct {
ArrayRange []string `fakesize:"2,6"`
Bar Bar
Skip *string `fake:"skip"` // Set to "skip" to not generate data for
SkipAlt *string `fake:"-"` // Set to "-" to not generate data for
Created time.Time // Can take in a fake tag as well as a format tag
CreatedFormat time.Time `fake:"{year}-{month}-{day}" format:"2006-01-02"`
}
Expand Down

0 comments on commit 429443e

Please sign in to comment.