-
-
Notifications
You must be signed in to change notification settings - Fork 147
Conversation
Codecov Report
@@ Coverage Diff @@
## master #60 +/- ##
==========================================
- Coverage 93.7% 93.35% -0.36%
==========================================
Files 10 10
Lines 556 677 +121
==========================================
+ Hits 521 632 +111
- Misses 18 24 +6
- Partials 17 21 +4
Continue to review full report at Codecov.
|
Thanks for the PR. Really appreciate it. This PR already looks good to me. Maybe something like this: type Some struct {
ArrayOfSomething []string `faker:",maxlen=20"`
StringOfSomething string `faker:",maxlen=25"`
FirstName string `faker:"first_name, maxlen=15"`
} * If just in case you have spare time anyway. If you too busy, then it's okay to merge this for now |
Sure I think, I can complete it today or tomorrow.
…On Mon, Feb 11, 2019 at 10:32 AM Iman Tumorang ***@***.***> wrote:
Thanks for the PR. Really apreciate it. This PR already looks good to me.
But, just a suggestion if you have a more spare time. It will be more
completed if we can also support it from the struct's tag.
Maybe something like this:
type Some struct {
ArrayOfSomething []string `faker:",maxlen=20"`
StringOfSomething string `faker:",maxlen=25"`
FirstName string `faker:"first_name, maxlen=15"`
}
*maxlen could be replaced with only len
If just in case you have a spare time anyway. If you too busy, then it's
okay to merge this for now
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#60 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AH_VKh6z1z0G62DGuiSB1Lw8vwMpWsTqks5vMTiPgaJpZM4azHLo>
.
|
Merging with other tags will take time. I think for now, this will be enough :). |
Thank you for the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks @olimpias
It seem looks good to merge 👍
Your welcome :)
…On Wed, Feb 20, 2019 at 10:31 AM Iman Tumorang ***@***.***> wrote:
Merged #60 <#60> into master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#60 (comment)>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AH_VKjFGZVMgQ3B22mdprgalxlBSSISBks5vPRX5gaJpZM4azHLo>
.
|
String len, number boundaries and array and map size have become configurable. In reference task, it was asked as a tag but I think, adding two new unnecessary field will be pointless for length setting instead making configuration will be more convenient. So It has become configurable with this PR...
fix #49