-
-
Notifications
You must be signed in to change notification settings - Fork 147
feat: add min max size for random slice map And allowing one element for Oneof #130
Conversation
Codecov Report
@@ Coverage Diff @@
## master #130 +/- ##
==========================================
- Coverage 92.17% 92.04% -0.13%
==========================================
Files 11 11
Lines 1086 1094 +8
==========================================
+ Hits 1001 1007 +6
- Misses 46 47 +1
- Partials 39 40 +1
Continue to review full report at Codecov.
|
Hi @autumn31 can you help to check the test, it's failing on the CI Sorry for the late reply, been busy lately. 🙇🏻 |
@bxcodec Test fixed. Also I updated the mr title, since I added another feature that |
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.
Hey @autumn31
So sorry for the late reply.
Minor comment, otherwise LGTM
faker.go
Outdated
if strings.Contains(argsList[0], ",,") { | ||
return nil, fmt.Errorf(ErrDuplicateSeparator) | ||
} | ||
fmt.Printf("argsList(%v)\n", argsList[0]) |
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.
can remove this?
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.
Sure, this line was removed in the latest commit.
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.
LGTM
Hey @autumn31 , Thanks for the PR, I'll release it soon. In the mean time, you can try to test on your project using the master branch for the source |
wish to add a feature that can set minimum random size for slice and map