Yurun
|
2e5b9bc200
|
fix: fix the bug of random.RandFloats() infinite loop and the result of random.RandFloat() sometimes equals to max.
|
2024-12-25 14:13:11 +08:00 |
|
dudaodong
|
0a2cc9c928
|
doc: update doc for RandNumberOfLength and GetExeOrDllVersion
|
2024-10-18 16:38:39 +08:00 |
|
今晚打打
|
ed93aae970
|
feat:add GetExeDllVersion for fileutil,random,package (#257)
* 增加GetExeDllVersion函数获取exe,dll版本号
* 多打文字
* 定位忘记...
* 单独剥离出来一个为windows的,增加RandNumLen为取指定长度随机数.
* ....
* 增加test测试
|
2024-10-18 16:17:14 +08:00 |
|
残念
|
c2a5335bc6
|
feat: add RandSliceFromGivenSlice function (#236)
|
2024-08-15 15:20:36 +08:00 |
|
残念
|
7b4e060f85
|
feat: add RandFromGivenSlice function (#235)
* feat: add RandFromGivenSlice function
* feat: add RandFromGivenSlice function
|
2024-08-14 19:36:12 +08:00 |
|
dudaodong
|
e91965b013
|
feat: add RandStringSlice, RandBool, RandBoolSlice
|
2024-08-09 11:44:56 +08:00 |
|
dudaodong
|
483a286d8e
|
feat: add RandIntSlice function
|
2024-08-09 10:46:08 +08:00 |
|
dudaodong
|
c5297ec329
|
fix: fix failed unit test
|
2023-12-11 15:04:54 +08:00 |
|
dudaodong
|
a995db445a
|
doc: update doc for random package
|
2023-12-08 11:57:39 +08:00 |
|
dudaodong
|
6e5b67bee7
|
feat: add RandFloat and RandFloats
|
2023-12-07 19:41:45 +08:00 |
|
dudaodong
|
6fe8a9efe7
|
feat: add RandSymbolChar
|
2023-12-07 17:56:12 +08:00 |
|
dudaodong
|
8229de2f10
|
test: add parallel running for all unit test functions
|
2023-06-30 10:18:45 +08:00 |
|
Liu Shuang
|
850800a233
|
feat: add RandUniqueIntSlice (#108)
|
2023-06-07 11:33:37 +08:00 |
|
dudaodong
|
4311b9ac66
|
test: remove t.Log()
|
2023-04-26 14:59:45 +08:00 |
|
dudaodong
|
1de2e2cedd
|
test: add examples for random package
|
2023-01-03 15:10:42 +08:00 |
|
dudaodong
|
84da7d4f27
|
feat: add RandUpper, RandLower, RandNumeral, and RandNumeralOrLetter
|
2022-11-06 20:04:52 +08:00 |
|
dudaodong
|
50c6e51393
|
upgrade go module v2
|
2022-03-17 10:57:35 +08:00 |
|
dudaodong
|
a19a861552
|
feat: add func UUIdV4
|
2022-02-20 10:16:15 +08:00 |
|
dudaodong
|
31e08197d4
|
remove file comment
|
2022-01-09 14:03:46 +08:00 |
|
dudaodong
|
642d0b8077
|
refactor: rewrite all unit test functions with assert
|
2022-01-09 14:01:51 +08:00 |
|
dudaodong
|
3ffd81a98a
|
refactor: rewrite all unit test functions with assert
|
2022-01-09 13:51:07 +08:00 |
|
dudaodong
|
c625a88067
|
refactor: rename package 'utils' to 'internal'
|
2021-12-31 11:36:11 +08:00 |
|
dudaodong
|
b7bb7c6ae0
|
fmt: gofmt random_test.go
|
2021-12-01 20:38:54 +08:00 |
|
dudaodong
|
f2ed3c6270
|
test: add some unit test function for convertor, random, slice, and formatter
|
2021-11-29 17:27:02 +08:00 |
|
dudaodong
|
3254591ab9
|
publish lancet
|
2021-11-28 21:28:23 +08:00 |
|