wangxc
fc624195c7
feat:add map to markdown conversion in map.go ( #336 )
...
* feat(file): add map to markdown conversion in map.go
* feat(file): add map to markdown conversion in map.go
2025-10-29 21:07:18 +08:00
残念
5b3a59e785
Merge pull request #334 from duke-git/v2
...
Add enum package
2025-10-25 12:32:12 +08:00
chentong
74abb2d3f1
feat(struct): add struct name function ( #328 )
...
* feat(struct): add struct name function
- Add Name() method to Struct type to return the struct name
- Implement unit tests for the new Name() method
* refactor(structs): rename Struct.Name to Struct.TypeName
- Rename method Name to TypeName for clarity and accuracy
- Update corresponding test cases
2025-10-23 11:20:43 +08:00
dudaodong
3f12b34eea
fix: fix issue for PR #334 , usge Pair struct to instance enum items
2025-10-16 18:43:24 +08:00
dudaodong
cd43004a91
feat: add example for enum package
2025-10-14 16:37:02 +08:00
dudaodong
3ac9461c00
Merge branch 'rc' into v2
2025-09-30 14:57:01 +08:00
dudaodong
309b07ae8a
feat: a simple enum implementation
2025-09-30 14:56:25 +08:00
chentong
8fe56b6dc7
fix(eventbus): update error handler to include topic information ( #333 )
...
* fix(eventbus): update error handler to include topic information
- Modified error handler signature to accept topic string and error
- Updated panic recovery logic to pass event topic to error handler
- Adjusted SetErrorHandler method parameter signature
- Updated example test to demonstrate new error handler usage
- Enhanced error handling test to verify topic information
* fix(eventbus): unit test
2025-09-28 20:10:12 +08:00
残念
15a0dad0d8
Merge pull request #330 from zoulux/main
...
fix: return 0 when Average is called with empty slice
2025-09-23 11:22:30 +08:00
jake
93c777a418
Update mathutil.go
...
fix: return 0 when Average is called with empty slice
2025-09-22 10:04:23 +08:00
jake
5ff1c6578f
Merge branch 'duke-git:main' into main
2025-09-22 09:53:09 +08:00
dudaodong
7d4b9510a2
feat: add IsChineseHMPassport
2025-08-21 14:13:43 +08:00
dudaodong
9f0ad2354a
feat: update some test fucntions
2025-08-21 10:52:44 +08:00
dudaodong
55b66dee99
Merge branch 'rc' into v2
2025-08-21 10:08:21 +08:00
Idichekop
4c64a16204
fix(package): [slice] functions with inconsistent return behaviour ( #326 )
...
* Some functions modified
* Fixes in all the functions of slice.go
* Re-use of swap function internal.
2025-08-19 10:50:25 +08:00
dudaodong
385e64cc52
feat: add IsPassport
2025-08-13 14:01:24 +08:00
dudaodong
be45a259db
Merge branch 'v2' into rc
2025-08-13 11:24:27 +08:00
Idichekop
6f703fe577
fix(package): [slice] Fix RigthPadding and LeftPadding ( #322 )
...
* Fixes in RightPadding and LeftPadding
* Tests cover padding empty, nil, and negative lenght
* Implemented repeat, concat, and grow functionalities as internal.
2025-08-04 10:45:29 +08:00
Idichekop
cb8d93c499
Simple refactor of ForEach functions ( #323 )
2025-07-30 14:28:27 +08:00
idichekop
ae1014c572
fix(package):[function] Corrected behaviour of Nand predicate ( #319 )
2025-07-22 10:08:50 +08:00
dudaodong
d5b9e67330
fix: fix go lint issue
2025-07-07 11:18:34 +08:00
dudaodong
a81403766f
feat: add ToPointers, FromPointer, FromPointers
2025-07-07 11:16:44 +08:00
dudaodong
6307d624cb
Merge branch 'rc' of github.com:duke-git/lancet into rc
v2.3.7
2025-07-07 10:18:37 +08:00
dudaodong
2f9f8b3f3d
release v2.3.7
2025-07-07 10:18:05 +08:00
jake
db5d9407bb
Update slice_concurrent.go ( #316 )
2025-06-25 15:33:07 +08:00
jake
83c069e234
Update slice_concurrent.go
2025-06-24 19:14:37 +08:00
dudaodong
55ee000684
merge rc
2025-06-23 11:32:51 +08:00
dudaodong
fc7f2509ca
fix: fix issue #314
2025-06-23 11:31:54 +08:00
残念
a97d27c32e
perf(retry): the error returned by the Retry function contains the last error ( #315 )
2025-06-23 11:04:54 +08:00
Grigoris Thanasoulas
c176ba378e
arrayqueue: Fix bug in Back() method ( #313 )
2025-06-20 23:05:14 +08:00
dudaodong
a3a24fc381
doc: update doc styles
2025-06-06 14:33:54 +08:00
Axiss
9caf2ffb1c
fix one typo in doc ( #310 )
2025-06-03 10:10:51 +08:00
残念
1a5c31fd02
perf(retry): remove the waiting time after the last retry ( #309 )
2025-06-03 09:57:29 +08:00
dudaodong
c175b202de
doc: update cryptordoc
2025-05-29 14:04:09 +08:00
dudaodong
d818219672
doc: update cryptordoc
2025-05-29 14:01:12 +08:00
dudaodong
539078e6b8
doc: add play ground demo for v2.3.6
2025-05-29 11:50:17 +08:00
dudaodong
cdefbde9f5
release v2.3.6
v2.3.6
2025-05-29 10:07:19 +08:00
dudaodong
1e57a743af
Merge branch 'rc' into v2
2025-05-29 10:05:13 +08:00
Yurun
7d4184a365
doc: fix typo ( #308 )
2025-05-29 10:01:38 +08:00
dudaodong
1b73483945
doc: update doc for v2.3.6
2025-05-28 11:30:12 +08:00
RigelShrimp
622aacaf44
doc: fix typo in chinese translation ( #305 )
2025-05-14 15:09:10 +08:00
燕归来
e78ac65605
fix: Fixed the issue of missing cap when StringToBytes returns result ( #306 )
...
Co-authored-by: 燕归来 <dylan@infinni.io >
2025-05-14 15:08:12 +08:00
dudaodong
03f0d4d905
fix: fix ExampleFindValuesBy
2025-04-29 10:18:51 +08:00
dudaodong
b2ae71c983
update rsa crypto file
2025-04-29 10:04:11 +08:00
dudaodong
093f4a2286
doc: add documention for keyed locker
2025-04-28 19:32:51 +08:00
dudaodong
f7ada6093c
feat: add example for keyed_locker
2025-04-27 19:44:15 +08:00
dudaodong
47e82aad39
refactor: refact some sliceutil functions
2025-04-24 10:38:43 +08:00
dudaodong
9e813d236b
fix: fix issue #159
2025-04-22 14:46:03 +08:00
dudaodong
72a23d2cb9
fix: fix issue #159 and refact crypto function
2025-04-22 14:22:01 +08:00
dudaodong
27667f8b3a
fix: fix bugs in test
2025-04-21 15:08:16 +08:00