Commit Graph
100 Commits
Author SHA1 Message Date
dudaodong 4888909208 fix: fix IsPingConnected failed in windows 2023-04-26 19:53:53 +08:00
dudaodong 33c8875d14 test: update TestWordCount 2023-04-26 19:35:28 +08:00
dudaodong 99cb1b13a3 test: remove unstable test item 2023-04-26 18:14:27 +08:00
dudaodong 42ec189995 release v2.1.20 2023-04-26 18:03:52 +08:00
dudaodong 424c291813 test: add TestExecCommandWithOption 2023-04-26 17:53:20 +08:00
dudaodong 4311b9ac66 test: remove t.Log() 2023-04-26 14:59:45 +08:00
dudaodong 581e338889 doc: add new function to readme file 2023-04-26 14:31:47 +08:00
dudaodong f399425c2a doc: add document for compare package 2023-04-26 11:02:11 +08:00
dudaodong dcdb29334d doc: update fileutils package document 2023-04-26 10:44:12 +08:00
dudaodong 4859f3ca23 test: add examples for compare package 2023-04-26 10:19:42 +08:00
dudaodong 9f2528842e feat: add unit test for compare package 2023-04-26 10:05:09 +08:00
dudaodong 6066d6669f feat: add compare package 2023-04-25 18:01:05 +08:00
dudaodong e3804e9534 test: add test.csv file 2023-04-25 11:34:09 +08:00
dudaodong 2f51397d2c feat: add ReadCsvFile 2023-04-25 11:28:43 +08:00
dudaodong 11217a11c7 feat: add FileSize, MTime, Sha 2023-04-25 11:16:00 +08:00
dudaodong fa81ee143e refactor: update param name CopyFile 2023-04-25 10:49:12 +08:00
dudaodong 62891f20f8 feat: add IsZipFile 2023-04-24 14:00:53 +08:00
dudaodong 5e79eaa9dd feat: add IsZipFile 2023-04-24 11:00:58 +08:00
dudaodong aaf45012e4 fix: refact CopyProperties 2023-04-22 14:14:13 +08:00
dudaodong 48c17ea1ce fix: update params in TestIsPingConnected 2023-04-19 17:40:55 +08:00
dudaodong e90283c3f9 fix: update params in TestIsPingConnected 2023-04-19 17:35:17 +08:00
dudaodong f82c4a305d fix: update params in TestIsPingConnected 2023-04-19 17:32:30 +08:00
dudaodong 05997603a9 doc: add document for DownloadFile and UploadFile 2023-04-19 16:16:47 +08:00
dudaodong 6d5ec807f7 test: comment some test case 2023-04-19 16:04:35 +08:00
dudaodong f73c7e7e86 doc: add document and example for IsPingConnected and IsTelnetConnected 2023-04-19 11:48:28 +08:00
dudaodong c137428b9e feat: add IsPingConnected and IsTelnetConnected 2023-04-19 11:14:10 +08:00
dudaodong 9f68620b37 feat: add IsPingConnected and IsTelnetConnected 2023-04-19 11:13:21 +08:00
dudaodong 2cdbba56a4 feat: add UploadFile and DownloadFile 2023-04-18 20:09:56 +08:00
dudaodong 01a3b139c0 doc: add document for new functions in slice and strutil package 2023-04-18 15:49:09 +08:00
dudaodong fcb3b97b45 doc: add docment and playground demo for v2.1.19 2023-04-18 15:21:03 +08:00
dudaodong 52ea64bc33 feat: add FindLastBy function 2023-04-17 20:17:26 +08:00
dudaodong 47bdd6718a fix: ExecCommand can't compile in macos 2023-04-17 17:03:46 +08:00
dudaodong 18d27604e6 update mod file 2023-04-17 17:00:53 +08:00
dudaodong 66bd339e3a doc: add example for strutil new functions 2023-04-17 16:35:26 +08:00
dudaodong 975c303a31 fix: ExampleListFileNames 2023-04-17 15:35:17 +08:00
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