1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-03-01 00:35:28 +08:00
Commit Graph

1339 Commits

Author SHA1 Message Date
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 3f8e306ced doc: update deprecated warning text 2024-08-08 15:44:19 +08:00
dudaodong 0b29f0520d feat: add Debounce function 2024-08-08 15:19:38 +08:00
dudaodong 8611ec0c10 feat: add UniqueByComparator 2024-08-08 11:23:11 +08:00
dudaodong 286e10d189 refactoring: memory optimization for unique slice 2024-08-08 10:51:33 +08:00
dudaodong 3e7f94b03e fix: fix UniqueBy bug 2024-08-08 10:40:23 +08:00
dudaodong 356351896d feat: add UniqueByParallel for slice 2024-08-08 10:20:52 +08:00
dudaodong 9be124211e refact: preallocate in Merge map 2024-08-01 11:00:24 +08:00
dudaodong f467658481 Merge branch 'rc' into v2 2024-07-31 10:50:29 +08:00
zyfx 5c9d0e396e Update condition.go (#234) 2024-07-31 10:16:03 +08:00
dudaodong 8f74460c1b fix: remove scientific notation in DecimalBytes 2024-07-30 14:17:17 +08:00
dudaodong d5752499bf fix: remove scientific notation in DecimalBytes 2024-07-29 11:42:56 +08:00
dudaodong eb7cf76eae doc: fix doc error 2024-07-18 11:44:00 +08:00
dudaodong 4af074d181 doc: add play ground demo 2024-07-18 11:34:16 +08:00
dudaodong 73fb8fefd2 release v2.3.2 v2.3.2 2024-07-18 10:52:54 +08:00
dudaodong 9cf535055d doc: update readme file 2024-07-18 10:50:29 +08:00
dudaodong 8be7b3e396 rename UnwrapOr 2024-07-18 10:12:16 +08:00
梧桐 dac706d700 🐛 Fixing a bug. about pointer package function (#230)
update:
1. UnwarpOr
2. UnwarpOrDefault
3. ExtractPointer

add:
1. UnwrapOr
2. IsNil
2024-07-18 10:05:07 +08:00
dudaodong 2097277a7d doc: add doc for UniqueByField 2024-06-25 15:20:03 +08:00
dudaodong 95b516e278 feat: add UniqueByField 2024-06-24 19:36:02 +08:00
dudaodong ca373b00a7 feat: add GetOrSet 2024-06-24 17:29:12 +08:00
dudaodong a220220f09 feat: add GetOrSet 2024-06-24 17:28:51 +08:00
dudaodong aeef0418a4 fix: fix bug of CopyDir 2024-06-24 17:09:31 +08:00
dudaodong 9b7d8d7abf doc: update vitepress version 2024-06-11 10:06:33 +08:00
dudaodong 4d21e81263 feat: add Timeout config for http client 2024-06-04 16:28:00 +08:00
残念 ce2397422e perf(slice): make a clearer panic description (#223) 2024-05-30 16:55:30 +08:00
Cannian 4b3a62b36a perf(validator): check Ipv4、Ipv6 by more graceful method (#220) 2024-05-25 08:58:33 +08:00
dudaodong e054680d20 doc: ignoreDeadLinks in doc 2024-05-14 11:42:48 +08:00
dudaodong 5381842eec doc: update doc for v2.3.1 2024-05-14 11:26:14 +08:00
dudaodong 6e0498514c doc: update doc for v2.3.1 2024-05-14 11:25:01 +08:00
dudaodong 967e6a3493 doc: update doc for v2.3.1 v2.3.1 2024-05-14 10:47:27 +08:00
dudaodong 5b24801e49 merge qa branch 2024-05-14 10:11:29 +08:00
dudaodong 974ba525a6 Merge branch 'rc' into v2 2024-05-14 10:10:45 +08:00
chentong f0235c40b6 fix: json tag omitempty convert error (#218) 2024-05-14 10:08:56 +08:00
dudaodong 712a215ea6 reset 2024-05-14 10:02:56 +08:00
dudaodong 7893f828d3 fix: fix get tag failed 2024-05-13 17:49:34 +08:00
Yang Li 53fa210f09 refactor slice.Unique() (#215) 2024-05-09 10:43:59 +08:00
dudaodong de9ee08be4 test: update net error handle 2024-04-18 14:23:36 +08:00
dudaodong 5381450bea feat: fix email validation failed 2024-04-18 14:18:33 +08:00
Cannian 6853d627f4 refactor(slice): optimize function (#211) 2024-04-06 09:16:28 +08:00
Joker-desire e461acdb72 fix(netutil): Add proxy IP to send request (#210)
* fix(netutil): Add proxy ip to send request

* fix(netutil): Add proxy IP to send request

---------

Co-authored-by: 杨崟 <yangyin@addcn.com>
2024-04-03 16:52:53 +08:00
dudaodong 2a796adf85 fix: support nest struct in StructToUrlValues 2024-04-02 17:38:40 +08:00
Cannian 5e6e8d82a8 feat(maputil): add ToSortedSlicesDefault method and ToSortedSlicesWithComparator method (#206) 2024-03-31 21:04:55 +08:00
Cannian e9280b8c25 add Concat method (#204)
* feat(strutil): add Concat method

* feat(strutil): add Concat method
2024-03-25 10:26:37 +08:00
dudaodong bb6f10a1fb rename CONTRIBUTING file 2024-03-17 10:30:24 +08:00
dudaodong 33b4cffe60 rename CONTRIBUTING file 2024-03-17 10:30:07 +08:00
Cannian 2b765b49e0 refactor(set): pop method randomly removes an element and return (#202) 2024-03-17 10:28:25 +08:00
dudaodong 004dbdc32e doc: update doc for RightPadding and LeftPadding 2024-03-12 09:52:02 +08:00
donutloop ab50e8120a Slice: padding (#201)
* LeftPadding adds padding to the left begin of a slice.
* RightPadding adds padding to the right end of a slice.
2024-03-10 21:24:17 +08:00