Commit Graph
81 Commits
Author SHA1 Message Date
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
dudaodong 49f62c3550 refactor: rewrite all unit test functions with assert 2022-01-09 15:53:30 +08:00
dudaodong 23701e6998 refactor: rewrite all unit test functions with assert 2022-01-09 15:49:52 +08:00
dudaodong 1199c30ef3 refactor: rewrite all unit test functions with assert 2022-01-09 15:48:29 +08:00
dudaodong b0e17c7bc4 refactor: rewrite all unit test functions with assert 2022-01-09 15:39:50 +08:00
dudaodong d3525dfe8f refactor: rewrite all unit test functions with assert 2022-01-09 15:34:17 +08:00
dudaodong 9da7115169 refactor: rewrite all unit test functions with assert 2022-01-09 15:10:56 +08:00
dudaodong 9cb9aa2f2f refactor: rewrite all unit test functions with assert 2022-01-09 14:46:17 +08:00
dudaodong e4cd7dad35 refactor: rewrite all unit test functions with assert 2022-01-09 14:31:31 +08:00
dudaodong 31e08197d4 remove file comment 2022-01-09 14:03:46 +08:00
dudaodong 642d0b8077 refactor: rewrite all unit test functions with assert 2022-01-09 14:01:51 +08:00
dudaodong 25b2ae6b98 fix: return empty byte slice when rand bytes lenght less 1 2022-01-09 14:00:23 +08:00
dudaodong 65719515bd feat: add LessOrEqual and GreaterOrEqual 2022-01-09 13:58:27 +08:00
dudaodong 3ffd81a98a refactor: rewrite all unit test functions with assert 2022-01-09 13:51:07 +08:00
dudaodong f490ef2404 refactor: rewrite all unit test functions with assert 2022-01-09 13:30:08 +08:00
dudaodong 3438f3b18a refactor: rewrite all unit test functions with assert 2022-01-09 13:07:49 +08:00
dudaodong 73f4ae7b35 refactor: add internal/assert.go and rewrite all unit funcs string_test.go with assert 2022-01-08 21:58:35 +08:00
dudaodong 74d262e609 Merge branch 'main' of github.com:duke-git/lancet into main 2022-01-03 20:11:32 +08:00
dudaodong 97e0789ea4 feat: add Wrap and Unwrap func 2022-01-03 20:11:15 +08:00
dudaodong 4fd8a18677 release v1.1.6 2022-01-03 15:58:19 +08:00
dudaodong 3de906d7c9 refactor: reduce gocyclo of doHttpRequest func 2022-01-03 15:53:25 +08:00
dudaodong 56fc12c660 refactor: reduce gocyclo of ToString func 2022-01-03 15:15:22 +08:00
dudaodong 7a9b0847f9 fix: fix some go line issue in go report card 2022-01-03 14:57:14 +08:00
dudaodong 9266d99249 add chinese comment for GroupBy func 2022-01-02 22:12:01 +08:00
dudaodong 94b1a1d383 feat: add Reset func for watcher 2022-01-01 20:14:41 +08:00
dudaodong 7db46696f6 release v1.1.5 2022-01-01 20:13:21 +08:00
dudaodong d4f49af2ad feat: add watcher for record code excution time 2022-01-01 19:56:15 +08:00
dudaodong ed4acc1c67 feat: add Shuffle func 2022-01-01 19:18:33 +08:00
dudaodong 042a00296f feat: add FlattenDeep func 2022-01-01 18:14:35 +08:00
dudaodong b42aac53b3 feat: add Drop func 2022-01-01 17:20:41 +08:00
dudaodong 6ab4fca433 fmt: go fmt fileutil/file_test.go and function/function.go 2021-12-26 21:41:46 +08:00
dudaodong b33a9cbfe3 release v1.0.10 2021-12-26 21:20:18 +08:00
dudaodong 0a1386f5a7 release v1.0.9 2021-12-26 13:57:05 +08:00
dudaodong 72a89be8c1 feat: add function package for funcational programming 2021-12-11 13:30:11 +08:00
dudaodong 3254591ab9 publish lancet 2021-11-28 21:28:23 +08:00