dudaodong
27667f8b3a
fix: fix bugs in test
2025-04-21 15:08:16 +08:00
dudaodong
0b5dc86d70
refactor: refact some strutil functions
2025-04-21 14:07:52 +08:00
dudaodong
d88bba07dd
feat: add TryKeyedLocker
2025-04-21 10:49:48 +08:00
dudaodong
d7f3354b98
feat: add RWKeyedLocker
2025-04-17 14:25:19 +08:00
dudaodong
f4dee28ebb
feat: add KeyedLocker
2025-04-17 14:06:59 +08:00
残念
c841a5b88c
Merge pull request #301 from ppd324/main
...
feat: add ToMap for stream
2025-04-14 10:34:17 +08:00
Peidong Pei
333038634b
Update stream.go
2025-04-07 11:15:39 +08:00
Peidong Pei
ef0fed23b2
Update stream_example_test.go
2025-04-07 11:14:42 +08:00
dudaodong
1e0ee1fac1
fix: fix issue #302
2025-04-03 10:23:03 +08:00
Pei PeiDong
4947327ed6
feat: add ToMap for stream
2025-04-02 10:53:46 +08:00
dudaodong
ceb706b874
feat: add FindValuesBy
2025-04-01 11:35:24 +08:00
dudaodong
3849337919
doc: update example link for BeginOfWeek and EndOfWeek
2025-03-31 10:27:09 +08:00
CyJaySong
f4427b9fbc
BeginOfWeek,EndOfWeek 的beginFrom和endWith改为必传 ( #300 )
2025-03-31 10:18:50 +08:00
dudaodong
0ef45b533b
fix: fix issue #292 , change query params type to map[string][]string
2025-03-28 14:00:11 +08:00
dudaodong
169f280c9c
feat: add RemoveDir
2025-03-28 11:06:52 +08:00
dudaodong
e74126a0bd
test: format test code
2025-03-27 11:17:07 +08:00
dudaodong
f7be4190f1
test: format test code
2025-03-27 10:49:40 +08:00
dudaodong
8089b71bfd
feat: add IsAlphaNumeric
2025-03-15 14:57:21 +08:00
dudaodong
5b9543255a
feat: add AddQueryParams
2025-03-15 14:52:49 +08:00
dudaodong
bf859387f4
feat: add BuildUrl
2025-03-15 14:25:03 +08:00
dudaodong
a8a92844f3
doc: update doc for website
2025-03-07 14:37:52 +08:00
dudaodong
6dfdadd34e
doc: update for release v2.3.5
2025-03-07 14:19:07 +08:00
dudaodong
8120c4db78
test: fix TestEventBus
v2.3.5
2025-03-07 10:42:22 +08:00
dudaodong
0d0f213d36
test: fix TestEventBus
2025-03-07 10:37:41 +08:00
dudaodong
41d4bbf0e3
test: fix TestEventBus_GetEvents
2025-03-07 10:34:20 +08:00
dudaodong
fed1d5220e
release v2.3.4
2025-03-07 10:29:19 +08:00
dudaodong
29a8318d6e
doc: update for release v2.3.5
2025-03-06 20:11:21 +08:00
dudaodong
3696213e5d
doc: update for release v2.3.5
2025-03-06 20:02:33 +08:00
dudaodong
90a3b87b67
doc: add doc for eventbus package
2025-03-06 15:50:12 +08:00
dudaodong
a7b28ee864
update crypto fileg
2025-02-18 15:49:52 +08:00
dudaodong
f2823014f2
doc: add doc for AddDaySafe, AddMonthSafe, AddYearSafe
2025-02-18 15:47:43 +08:00
dudaodong
4181c42805
feat: add AddDaySafe, AddMonthSafe, AddYearSafe
2025-02-18 15:37:56 +08:00
dudaodong
a09f5623d6
feat: add AddWeek, AddMonth and update example of some add time functions
2025-02-18 14:10:04 +08:00
chentong
a9c75b081d
feat(validator): add IsIpPort ( #294 )
...
* fix: json tag omitempty convert error
* feat(validator): add IsIpPort
- Add IsIpPort function to check if a string is in the format ip:port
- Update validator_test.go to include tests for the new IsIpPort function
- Add an example test for IsIpPort in validator_example_test.go
2025-02-17 10:03:15 +08:00
dudaodong
db479ef1bc
fix: fix issue #292
2025-02-14 17:35:48 +08:00
dudaodong
df8121fbbd
Merge branch 'rc' into v2
2025-02-14 17:13:11 +08:00
dudaodong
0e7297cb97
feat: add ShuffleCopy
2025-02-14 16:33:22 +08:00
dudaodong
2e619e48a3
feat: add ReverseCopy
2025-02-14 16:23:46 +08:00
残念
3069acba4a
Merge pull request #293 from YoghurtFree/fix_slice_test
...
fix(slice_test) , should not assume the order of the slice
2025-02-09 23:10:28 +08:00
jialulu
fc43138a0e
fix: fix slice_test.go ,We should not assume the order of the slice when using multithreads,sort them before compare
2025-02-09 22:23:35 +08:00
残念
1e56e9964c
Merge pull request #291 from guanhonly/feature/compatible-with-pointer-in-ToString
...
compatible with pointer in convert.ToString
2025-01-30 22:26:34 +08:00
guanhongli
f861e18bc3
compatible with pointer in convert.ToString
2025-01-26 12:04:55 +08:00
Tuuuuuuuuu
e27df00fa8
make Bridge not block in the first stream that not closed ( #288 )
...
* not block in the first channel
* make Bridge not block in the first stream that not closed
* Bridge with test
2025-01-14 16:19:45 +08:00
dudaodong
23e61f1acf
update pem file
2025-01-14 15:58:58 +08:00
dudaodong
cb308f628c
feat: add eventbus
2025-01-14 15:57:43 +08:00
dudaodong
7653afa919
feat: add FindAllOccurrences
2025-01-10 14:03:45 +08:00
dudaodong
a0d97cf38e
Merge branch 'rc' into v2
2024-12-25 16:13:04 +08:00
残念
1f6bab467c
Merge pull request #282 from Yurunsoft/fix-RandFloats
...
fix the bug of random.RandFloats() infinite loop and the result of random.RandFloat() sometimes equals to max.
2024-12-25 15:14:17 +08:00
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
ab89f0aee1
feat: add EqualUnordered
2024-12-19 19:36:17 +08:00