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 |
|
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 |
|