Closed dxyinme closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
eba89e1
) 95.91% compared to head (4b42722
) 95.79%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
我有一个小问题,就是有没有必要同时暴露 RandCode 和 RandStrCahrset 两个方法?
比如说,我不暴露 RandCode,我直接暴露 RandStrCharset,那么我直接用 RandStrCharset 会有什么问题吗?
不会有什么问题,RandCode的存在只是给RandStrByCharset做了一个封装,个人感觉还是可以保留的,为了给使用者带来方便,他们可以直接使用RandCode,而不需要自己拼凑字符集