Commit Graph
100 Commits
Author SHA1 Message Date
dudaodong 3b8dd94a5c fix: TestListFileNames 2023-04-17 15:32:59 +08:00
dudaodong 815791c0b6 Merge branch 'main' into v2 2023-04-17 15:28:37 +08:00
dudaodong a12a691ee6 release v2.1.19 2023-04-17 15:28:01 +08:00
dudaodong c3fad62d8c doc: update stream package document 2023-04-17 13:53:47 +08:00
dudaodong a8a96be21b doc: update doc for new added functions 2023-04-17 11:34:17 +08:00
dudaodong 8e297769b2 fix: fix example comment of MapTo function 2023-04-17 11:06:03 +08:00
dudaodong 98cdf1c040 Merge branch 'main' into v2 2023-04-17 10:38:28 +08:00
dudaodong d7976e31a4 refactor: move typemap.go to maputil package and add document for it 2023-04-17 10:37:56 +08:00
dudaodong 5b11a8b457 refactor: move typemap.go to maputil package and add document for it 2023-04-17 10:36:59 +08:00
dudaodong ecf0688788 update readme file 2023-04-07 17:39:54 +08:00
dudaodong 90f9cad1ea update readme file 2023-04-07 15:23:34 +08:00
dudaodong 4a298876e9 doc: add docment and example for byte.go 2023-04-07 14:53:48 +08:00
dudaodong 74474cd9ef feat: add feature for humanize byte unit 2023-04-07 14:18:28 +08:00
dudaodong f23f18457e feat: add Pretty and PrettyToWriter 2023-04-06 16:30:38 +08:00
dudaodong 18f01ffd75 doc: update doc and example for validator 2023-04-06 10:46:31 +08:00
dudaodong c01c9d14b4 feat: add ReduceRight 2023-04-04 17:54:54 +08:00
dudaodong f198191063 feat: add ReduceBy 2023-04-04 17:41:37 +08:00
dudaodong 8bdd46bda4 doc: add play ground demo 2023-04-03 10:33:57 +08:00
dudaodong e29b56c3c3 release v2.1.18 2023-04-03 10:12:50 +08:00
dudaodong c357fc68c8 doc: update readme file for new feature 2023-04-03 10:12:13 +08:00
dudaodong bc25e7a037 feat: add IsPrintable 2023-03-31 12:00:32 +08:00
dudaodong 217350042b feat: add RemoveNonPrintable 2023-03-30 14:52:32 +08:00
dudaodong e56a8a1ef5 feat: add IsASCII 2023-03-30 14:41:32 +08:00
dudaodong 6453f755a6 doc: add doc for IsPrime 2023-03-30 14:09:05 +08:00
dudaodong 027abd6ad5 feat: add IsPrime 2023-03-30 11:54:20 +08:00
dudaodong 91503b1656 comment TestEachWithBreak 2023-03-29 10:31:38 +08:00
dudaodong e2522cd29b fix: fix TestEachWithBreak case 2023-03-29 10:24:41 +08:00
dudaodong da69b77892 Merge branch 'main' of github.com:duke-git/lancet 2023-03-29 10:15:56 +08:00
dudaodong 05772d8d7d comment TestEachWithBreak 2023-03-28 20:08:05 +08:00
dudaodong 1cd3be508c refactor rename async package name to 2023-03-24 11:43:56 +08:00
dudaodong a41d461910 doc: update mathutil package doc 2023-03-24 11:23:45 +08:00
dudaodong cde5946bf0 feat: add PointDistance 2023-03-23 17:49:07 +08:00
dudaodong c28803b25e feat: add AngleToRadian and RadianToAngle 2023-03-23 17:41:31 +08:00
dudaodong f09e521783 doc: add go playground demo 2023-03-22 21:06:01 +08:00
dudaodong 0aa41f337d fix: test failed 2023-03-20 16:39:56 +08:00
dudaodong 48814a720a fix: test failed in promise test 2023-03-20 16:26:21 +08:00
dudaodong 04b79b3dfe release v2.1.17 2023-03-20 16:17:52 +08:00
dudaodong 302007ebdf doc: update readme file for new feature 2023-03-20 16:12:58 +08:00
dudaodong 965e5fbcda feat: add Pop for set 2023-03-20 11:10:35 +08:00
dudaodong 70d0adde42 feat: add EachWithBreak for set 2023-03-20 10:49:14 +08:00
dudaodong 0b80074bb7 refactor: remove unused code 2023-03-20 10:35:37 +08:00
dudaodong 90945a0399 Merge branch 'main' into v2 2023-03-18 19:35:48 +08:00
dudaodong 4ae7e59829 feat: add example for promise 2023-03-17 16:03:35 +08:00
dudaodong 8f0c60cade test: add unit test for promise Race and Any function 2023-03-17 13:59:18 +08:00
dudaodong 3f6aef1432 fix: fix bug of IsNotNil function 2023-03-16 19:15:36 +08:00
dudaodong a714e04470 test: add unit test for promise.All function 2023-03-16 19:11:30 +08:00
dudaodong 7456621153 fix: fix bug of IsNil function 2023-03-16 17:01:28 +08:00
dudaodong 73ac9825e9 test: add unit test for Promise 2023-03-16 16:55:32 +08:00
dudaodong 930bb9c839 feat: complete promise Any function 2023-03-16 15:59:06 +08:00
dudaodong 3d8f1be212 feat: add error_join.go to support join error under go1.19, for internal use. 2023-03-16 15:56:54 +08:00
dudaodong 13a4ed59fa doc: update comment for concurrency package 2023-03-16 15:35:26 +08:00
dudaodong c799d10ce9 feat: add promise All, Race, Any methods 2023-03-16 15:34:28 +08:00
dudaodong 5ab322ade2 feat: add async package, promise implemention 2023-03-16 14:49:07 +08:00
dudaodong d0ffc61842 doc: fix doc error 2023-03-16 10:36:06 +08:00
dudaodong 7261b281ad refactor: add function comment for tag.go 2023-03-15 17:43:47 +08:00
dudaodong f79693804b refactor: make package variable defaultTagName unexported 2023-03-15 15:08:56 +08:00
dudaodong 534c7a0abc refactor: make errInvalidStruct exported, change error.go to struct_internal.go 2023-03-15 14:58:34 +08:00
dudaodong 4eaff47d38 Merge branch 'main' into v2 2023-03-15 14:43:48 +08:00
dudaodong 3e019522c7 doc: add doc for ForEachWithBreak 2023-03-15 14:42:22 +08:00
dudaodong 0734f220b3 feat: add ForEachWithBreak support break for each loop 2023-03-15 14:38:33 +08:00
dudaodong ef1e548dfc merge main 2023-03-13 19:44:44 +08:00
dudaodong 77f32f4cc6 Merge branch 'main' into v2 2023-03-11 20:14:32 +08:00
dudaodong 7a25688ec1 doc: add doc for Range and RangeWithStep 2023-03-09 17:13:51 +08:00
dudaodong 51a6912eb3 feat: add RangeWithStep function 2023-03-06 18:05:58 +08:00
dudaodong 28d0428b50 feat: add Range function 2023-03-06 17:49:56 +08:00
dudaodong 6a9eb645bb fix: fix StructToUrlValues failed when tag contain omitempty 2023-03-06 17:07:57 +08:00
dudaodong 3857b342f6 fix: fix ExampleContext failed 2023-03-01 11:45:02 +08:00
dudaodong 71aa91a58d doc: add go playground demo 2023-03-01 11:39:27 +08:00
dudaodong 081908bce3 fix: fix goline error 2023-03-01 11:10:12 +08:00
dudaodong 66efe61834 release v2.1.16 2023-03-01 10:08:53 +08:00
dudaodong 94f7f3e0e5 doc: add new function docs 2023-02-28 15:03:02 +08:00
dudaodong 9d2c9806d1 feat: add ContainBy function 2023-02-24 14:19:10 +08:00
dudaodong e523d4af6e doc: add doc for FilterMap and FlatMap 2023-02-24 11:23:02 +08:00
dudaodong f3801bcd8f feat: add FlatMap 2023-02-24 11:14:59 +08:00
dudaodong 5767aad303 feat: add FilterMap 2023-02-24 10:55:27 +08:00
dudaodong f7aaa1ed2a fix: fix issue #75 2023-02-23 11:43:41 +08:00
dudaodong ef19a414bc doc: fix doc error 2023-02-23 10:58:43 +08:00
dudaodong 65704dea06 doc: fix doc error 2023-02-23 10:57:48 +08:00
dudaodong 5eac358bb0 doc: format code in doc file 2023-02-22 17:00:46 +08:00
dudaodong 8e36ef5cef doc: add doc for new map functions 2023-02-22 16:59:01 +08:00
dudaodong 21b0d2ec0e doc: add doc for WordCount and SplitWords function 2023-02-22 16:13:41 +08:00
dudaodong 32ca975204 feat: add OmitBy, OmitByKeys, OmitByValues 2023-02-21 14:52:10 +08:00
dudaodong ec740e442c feat: add WordCount 2023-02-21 14:27:00 +08:00
dudaodong ed98ad53ec feat: add SplitWords 2023-02-21 14:16:36 +08:00
dudaodong af7b9d2710 doc: add doc for CopyProperties function 2023-02-20 14:10:55 +08:00
dudaodong f08b368001 fix: update param type of CopyProperties 2023-02-20 14:04:45 +08:00
dudaodong be8a0558f8 test: add examples for CopyProperties function 2023-02-20 12:00:49 +08:00
dudaodong 46de539e22 feat: add CopyProperties for merge properties between structs 2023-02-20 11:48:30 +08:00
dudaodong 36fb3abe9e test: add examples for maputil package function 2023-02-19 16:59:21 +08:00
dudaodong fee8d325b7 doc: add doc for Pad function 2023-02-19 12:58:14 +08:00
dudaodong 8784be1583 feat: add Pad function 2023-02-19 12:37:26 +08:00
dudaodong 84cd68de7f fix: fix bugs of PadEnd and PadStart 2023-02-19 12:34:39 +08:00
dudaodong a774c060ce feat: add MapKeys and MapValues 2023-02-17 15:41:58 +08:00
dudaodong 730f061b95 feat: add Entries FromEntries Transform 2023-02-17 15:24:46 +08:00
dudaodong 2eb08f3404 feat: add FilterByValues function 2023-02-17 11:59:44 +08:00
dudaodong 4c1496b648 feat: add FilterByKeys function 2023-02-17 11:57:09 +08:00
dudaodong c2ae784f27 feat: add ValuesBy function 2023-02-17 11:48:11 +08:00
dudaodong e71cecefea feat: add KeysBy function 2023-02-17 11:40:20 +08:00
dudaodong 572e53aa14 doc: add go playground demo for xerror package 2023-02-16 14:28:50 +08:00
dudaodong ca9ecb9c8a update go playground demo 2023-02-16 14:10:24 +08:00