Commit Graph
100 Commits
Author SHA1 Message Date
dudaodong b05a0a91c3 test&doc: add example and update doc for netutil package 2023-01-08 16:54:29 +08:00
dudaodong da2eb66657 doc: update doc for datastructure package 2023-01-08 15:42:34 +08:00
dudaodong ad20159de2 doc: update doc for datastructure package 2023-01-08 15:41:59 +08:00
dudaodong 278733d3d1 Todo: add todo for playground demo of function 2023-01-07 18:27:07 +08:00
dudaodong 2f184907ff doc: update document for cryptor package 2023-01-07 18:18:23 +08:00
dudaodong 50fcc718ee test: add example for cryptor package 2023-01-07 17:34:42 +08:00
dudaodong cc68feb52d doc&test: add example and update doc for retry package 2023-01-07 14:22:07 +08:00
dudaodong 64d5486cc6 doc: add example and update doc for formatter package 2023-01-02 15:35:09 +08:00
dudaodong 6d57891f66 doc: update document for mathutil package 2023-01-02 15:19:47 +08:00
dudaodong 927245e47f test: add example for mathutil package 2023-01-02 14:59:49 +08:00
dudaodong 31fdbee0b5 doc: update document for maputil function 2023-01-02 14:21:23 +08:00
dudaodong 3712819994 test: add exmaple for maputil package 2023-01-02 14:06:12 +08:00
dudaodong 6d7dec1cea doc: update doc for convertor package 2023-01-01 22:00:23 +08:00
dudaodong 9b6a004dbc test: add example for convertor package 2023-01-01 21:24:24 +08:00
dudaodong 3ad6f4bd9e doc: update doc for condition package 2022-12-31 16:47:18 +08:00
dudaodong b8c6746f31 test: add example for condition package 2022-12-31 16:26:43 +08:00
dudaodong 0bf8bbf4cb doc: add example and update docment for channel 2022-12-31 13:38:52 +08:00
dudaodong a6ba1028c5 doc: add example and update docment for channel 2022-12-31 13:35:44 +08:00
dudaodong cc54dd7ec9 doc: add example and update docment for channel 2022-12-31 13:12:16 +08:00
dudaodong 687db4ce79 update readme file 2022-12-15 16:44:30 +08:00
dudaodong a9a4bb8841 update readme file 2022-12-15 16:42:22 +08:00
dudaodong bc6cb5f61b fix code issue in doc 2022-12-15 16:38:50 +08:00
dudaodong 2c57266f8e test: update some test functions 2022-12-15 15:22:01 +08:00
dudaodong 57e49c9520 doc: update document for funcations CamelCase/KebabCase/UpperKebabCase/SnakeCase/UpperSnakeCase 2022-12-14 21:42:43 +08:00
dudaodong 985c9a5d9a refactor: refact CamelCase function 2022-12-14 21:27:29 +08:00
dudaodong 5cfb11f036 feat: fix and add SnakeCase/UpperSnakeCase 2022-12-14 21:17:30 +08:00
dudaodong 5b3d48a1e7 feat: fix and add KebabCase/UpperKebabCase 2022-12-14 21:09:22 +08:00
dudaodong d0576e028f clean code 2022-12-13 19:52:37 +08:00
dudaodong e435fa271b doc: update doc for Comma 2022-12-10 21:03:16 +08:00
dudaodong 1533d00891 refactor: update Comma function 2022-12-10 20:59:27 +08:00
dudaodong 2725575d2f doc: add doc for IsGBK' 2022-12-09 19:28:45 +08:00
dudaodong 037d2729ce doc: update doc for ExecCommand 2022-12-09 19:20:15 +08:00
dudaodong 09d98745b0 fix: fix ExecCommand bug in windows 2022-12-09 19:10:55 +08:00
dudaodong af5cfe6da1 feat: add IsGBK validator 2022-12-09 17:36:59 +08:00
dudaodong 6e6444c8c0 refator: clean code 2022-12-06 20:20:36 +08:00
dudaodong dd613e98b2 refator: clean code 2022-12-06 20:00:41 +08:00
dudaodong 263ab7e316 clean code 2022-12-03 14:41:58 +08:00
dudaodong 809b7a53df doc: update docment for slice package 2022-12-03 14:33:15 +08:00
dudaodong 61c43daabb doc: add doc for Count and CountBy function 2022-12-03 14:20:37 +08:00
dudaodong 6f458e4367 doc: add doc for NewSetFromSlice 2022-11-30 12:34:56 +08:00
dudaodong f84584ca04 doc: add website link 2022-11-27 18:44:25 +08:00
DuDaoDongandGitHub 81efa800ea Create SECURITY.md 2022-11-16 11:31:50 +08:00
dudaodong 84da7d4f27 feat: add RandUpper, RandLower, RandNumeral, and RandNumeralOrLetter 2022-11-06 20:04:52 +08:00
dudaodong 089fd4e13c feat: add UnionBy for slice 2022-11-05 19:45:34 +08:00
dudaodong 6c40e02324 refactor: clean code 2022-11-05 19:33:56 +08:00
dudaodong a270b1b634 feat: make code clear 2022-11-05 17:09:56 +08:00
dudaodong 260fb795d3 feat: add KeyBy for slice 2022-11-05 16:52:31 +08:00
dudaodong 8c036f830c refactor: remove unuseful code 2022-11-05 16:39:42 +08:00
dudaodong 96a4327aa7 fix: fix some static check issues 2022-10-15 15:03:24 +08:00
dudaodong fcfbdea597 feat: add Replace and ReplaceAll for slice 2022-10-15 14:49:49 +08:00
dudaodong 87896f917a doc: add document for pipeline 2022-10-15 12:36:11 +08:00
dudaodong b8563ed646 feat: add Pipeline function 2022-10-15 12:29:47 +08:00
dudaodong 604acd9b07 doc:add lancet api doc website 2022-09-29 18:41:22 +08:00
dudaodong ef28b52963 fix: fix regex isChineseMobileRegexMatcher not work 2022-08-28 20:58:34 +08:00
dudaodong 18b2b6ff7c feat: add functons: And, Or, Xor, Nor, Xnor, Nand 2022-08-28 20:57:28 +08:00
dudaodong 6a05a123f4 feat: add Bool function to check if a value is truthy or falsy 2022-08-28 20:38:19 +08:00
dudaodong f7c33f258d Merge branch 'main' into v2 2022-08-27 19:25:24 +08:00
dudaodong 04058dd7da refactor: change common package to condition package 2022-08-27 19:19:34 +08:00
dudaodong 063df0f0d1 doc: add docment for IsZeroValue function 2022-08-27 19:04:57 +08:00
dudaodong fc10689b25 feat: add IsZeroValue function 2022-08-27 18:57:45 +08:00
dudaodong 337f08a04b fix: issue #53 2022-08-06 17:41:45 +08:00
dudaodong d442f564ce Merge branch 'main' into v2 2022-07-17 13:35:12 +08:00
dudaodong f35446cc13 docs: fix word mistaken 2022-07-17 13:34:19 +08:00
dudaodong d097f356fd docs: change some function comments for slice doc 2022-05-21 17:00:28 +08:00
dudaodong bc9bacaa55 refactor: change param to item 2022-05-21 16:50:57 +08:00
dudaodong eff2f22440 test: add unit test for MinBy function 2022-05-15 18:28:40 +08:00
dudaodong 47b6747bb0 feat: add MinBy function 2022-05-15 18:25:46 +08:00
dudaodong 298219aee7 test: add unit test for MaxBy function 2022-05-15 18:21:01 +08:00
dudaodong d5607b0a5a feat: add MaxBy function 2022-05-15 18:15:05 +08:00
dudaodong f31dde97b1 docs: add maputil docs in read me file 2022-04-05 14:24:33 +08:00
dudaodong 1718fd1cf1 docs: add doc for maputil package 2022-04-05 14:16:58 +08:00
dudaodong 513c0f829c docs: add doc for SymmetricDifference fun in slice doc 2022-04-05 13:47:13 +08:00
dudaodong 142deb83b2 fix: fix InsertionSort bug 2022-03-26 18:25:42 +08:00
dudaodong ccaf290b63 docs: add doc for datetime/conversion.go 2022-03-18 18:18:28 +08:00
dudaodong 54745d512c test: add unit test and func comment for time conversion 2022-03-18 17:48:57 +08:00
dudaodong bb03f31a8b release v2.0.0 2022-03-16 19:16:43 +08:00
dudaodong c939b26cb8 refactor: interface{} -> any 2022-03-16 18:41:40 +08:00
dudaodong af480efa8c docs: add xerror package doc 2022-03-16 18:21:30 +08:00
dudaodong bc913d70b1 docs: update doc style 2022-03-16 18:06:06 +08:00
dudaodong 2bc87d8a6b docs: add docs/algorithm.md 2022-03-16 18:00:38 +08:00
dudaodong 2185c48eab docs: add docs/algorithm.md 2022-03-16 18:00:29 +08:00
dudaodong 59b5046a15 docs: update slice.md 2022-03-16 16:59:15 +08:00
dudaodong 78519088ab feat: add lru cache 2022-03-11 17:05:55 +08:00
dudaodong 48c1f8ffad fix: fix some spell mistake 2022-02-13 19:00:44 +08:00
dudaodong e07d54d1da fix: fix exec windows command test failed 2022-01-23 14:40:59 +08:00
dudaodong 6f035f710e feat: add DifferenceBy func 2022-01-23 14:27:37 +08:00
dudaodong 92967e0add fix: TestCompact for blank string case 2022-01-22 21:21:12 +08:00
dudaodong 6a1a0b8677 feat: add Concat func 2022-01-22 21:16:34 +08:00
dudaodong ca88687f3d feat: add UpperFirst func 2022-01-22 18:55:41 +08:00
dudaodong aa64bf5bee feat: add IsUrl func 2022-01-22 18:11:52 +08:00
dudaodong c424b88d40 update style of readme file 2022-01-16 22:17:51 +08:00
dudaodong e6f9b0954c feat: add CountSort 2022-01-16 17:20:20 +08:00
dudaodong 98e861cf3b feat: add QuickSort, HeapSort, and MergeSort functions 2022-01-16 16:52:17 +08:00
dudaodong 681d5b6bdf update comment for Count func 2022-01-09 22:17:50 +08:00
dudaodong b0e9758e0d Merge branch 'v2' of github.com:duke-git/lancet into v2 2022-01-09 22:15:18 +08:00
dudaodong 44ac82e8b8 refactor: rewrite some slice functions with go generics 2022-01-09 22:14:46 +08:00
dudaodong c4b4cb1173 merge master: rewrite all unit test functions with assert 2022-01-09 18:33:00 +08:00
dudaodong bbfc5b7060 delete file utils.go and fix some misspel 2022-01-09 16:12:26 +08:00
dudaodong 1f45937190 refactor: rewrite all unit test functions with assert 2022-01-09 16:04:33 +08:00
dudaodong 52c5a91606 refactor: rewrite all unit test functions with assert 2022-01-09 15:57:21 +08:00