dudaodong
|
887eaa528a
|
update: algorithm package comment
|
2022-01-26 14:57:37 +08:00 |
|
dudaodong
|
33126570bd
|
feat: add datastructure package and list implementation
|
2022-01-26 14:56:40 +08:00 |
|
dudaodong
|
5937183af0
|
feat: replace constraints comparable into any in some funcs
|
2022-01-24 15:47:47 +08:00 |
|
dudaodong
|
4eaa0a39d5
|
feat: add FindLast func
|
2022-01-24 15:22:43 +08:00 |
|
dudaodong
|
18ec73839b
|
feat: add DifferenceWith
|
2022-01-24 14:53:45 +08:00 |
|
dudaodong
|
89aef977a2
|
refactor: clean code for slice/slice.go
|
2022-01-24 11:46:09 +08:00 |
|
dudaodong
|
2612569500
|
merge: merge main branch and refector slice func with generics
|
2022-01-24 11:10:12 +08:00 |
|
dudaodong
|
acc8b59387
|
comment: add comment for Unwrap
|
2022-01-24 10:24:10 +08:00 |
|
dudaodong
|
8bb102cb6e
|
release v1.2.2
|
2022-01-24 10:10:38 +08:00 |
|
dudaodong
|
a3399503f7
|
feat: add Debounced func
|
2022-01-21 17:13:31 +08:00 |
|
dudaodong
|
3ca096b4ac
|
update MiMeType func comment
|
2022-01-21 14:54:55 +08:00 |
|
dudaodong
|
3f8effb7a3
|
refactor: make BinarySearch func code clear
|
2022-01-21 11:57:36 +08:00 |
|
dudaodong
|
bd30855ae6
|
feat: add LinearSearch
|
2022-01-21 11:36:31 +08:00 |
|
dudaodong
|
0efe2f57c3
|
merge main
|
2022-01-19 20:47:47 +08:00 |
|
dudaodong
|
28317a1683
|
feat: remove ConvertSlice func
|
2022-01-19 20:41:46 +08:00 |
|
dudaodong
|
2ab898741d
|
test: add TestOsDetection
|
2022-01-19 20:18:04 +08:00 |
|
dudaodong
|
454efd486d
|
test: add test logic for assert
|
2022-01-19 19:45:18 +08:00 |
|
dudaodong
|
8868fcabed
|
Merge branch 'main' into v2
|
2022-01-19 17:35:48 +08:00 |
|
dudaodong
|
efa20a97c4
|
release v1.2.1
|
2022-01-19 14:58:52 +08:00 |
|
dudaodong
|
25ef78bc64
|
refactor: Md5File for reading large file
|
2022-01-19 14:34:11 +08:00 |
|
dudaodong
|
261370e30d
|
fix: os.go/ExecCommand make error the last return value
|
2022-01-17 16:57:38 +08:00 |
|
dudaodong
|
dfbb9e30e0
|
feat: algorithm package, BinarySearch and BinaryIterativeSearch functions
|
2022-01-17 15:36:48 +08:00 |
|
dudaodong
|
b22be7cade
|
refactor: change var name low -> lowIndex, high -> highIndex
|
2022-01-17 15:11:33 +08:00 |
|
dudaodong
|
87da6c6816
|
Merge branch 'main' into v2
|
2022-01-17 15:01:38 +08:00 |
|
dudaodong
|
764a6fe107
|
release v1.2.0
|
2022-01-17 14:49:20 +08:00 |
|
dudaodong
|
f3749c52b9
|
feat: add system package
|
2022-01-17 11:54:03 +08:00 |
|
dudaodong
|
f368854b2d
|
update text style of readme file
|
2022-01-17 10:40:41 +08:00 |
|
dudaodong
|
912f7052a3
|
gofmt
|
2022-01-17 10:29:42 +08:00 |
|
dudaodong
|
43e0ca7edf
|
feat: add ShellSort
|
2022-01-14 18:17:46 +08:00 |
|
dudaodong
|
d491bea263
|
feat: add BubbleSort and InsertionSort
|
2022-01-14 17:57:14 +08:00 |
|
dudaodong
|
6f1feb96d6
|
experimental feature, algorithm/sorter.go try to implements sort function with go generics
|
2022-01-14 17:01:44 +08:00 |
|
dudaodong
|
22b3c4dd42
|
feat: add validator functions, IsAllUpper, IsAllLower, ContainUpper, ContainLower, ContainLetter, IsJSON and IsPort
|
2022-01-13 20:19:41 +08:00 |
|
dudaodong
|
bd976642f6
|
feat: add try package for executing a function repeatedly
|
2022-01-13 16:18:49 +08:00 |
|
dudaodong
|
d46d12f949
|
feat: add func ContainSubSlice
|
2022-01-13 11:52:21 +08:00 |
|
dudaodong
|
e31fb28003
|
feat: add func ContainSubSlice
|
2022-01-13 11:00:27 +08:00 |
|
dudaodong
|
fd271fe176
|
add test passing badge
|
2022-01-12 11:27:09 +08:00 |
|
dudaodong
|
6890bbfe05
|
update: rename workflow
|
2022-01-12 11:23:51 +08:00 |
|
dudaodong
|
c6fc92a94c
|
update go version to v1.18
|
2022-01-12 10:23:04 +08:00 |
|
dudaodong
|
24ae47a12f
|
remove v2 branch
|
2022-01-12 10:13:13 +08:00 |
|
dudaodong
|
f4fa790b72
|
Merge branch 'main' into v2
|
2022-01-12 10:05:35 +08:00 |
|
dudaodong
|
d8d85efedf
|
update: add v2 branch
|
2022-01-12 10:05:21 +08:00 |
|
dudaodong
|
22798fd750
|
fix: fix some go report issue
|
2022-01-12 10:01:48 +08:00 |
|
dudaodong
|
ba73847b80
|
fix: fix some go report issue
|
2022-01-12 09:57:10 +08:00 |
|
dudaodong
|
69453eba19
|
release v1.1.9
|
2022-01-11 20:42:04 +08:00 |
|
dudaodong
|
907df56f86
|
update: make func comment consistent
|
2022-01-11 20:27:06 +08:00 |
|
dudaodong
|
3dadfa234b
|
update: make func comment consistent
|
2022-01-11 19:33:15 +08:00 |
|
dudaodong
|
dc47b9ce98
|
fix: fix confict in readme file
|
2022-01-11 18:15:09 +08:00 |
|
dudaodong
|
6e626851cf
|
merge #pr20
|
2022-01-11 18:12:57 +08:00 |
|
dudaodong
|
e5e4e09308
|
comment without func
|
2022-01-11 18:10:21 +08:00 |
|
dudaodong
|
7ed173849a
|
refactor: rewrite DeleteByIndex, InsertByIndex, UpdateByIndex and Without func with generics
|
2022-01-11 18:08:22 +08:00 |
|
dudaodong
|
e9fed34729
|
fmt: slice.go
|
2022-01-10 10:27:20 +08:00 |
|
dudaodong
|
9caefdb67d
|
fmt: slice.go
|
2022-01-10 10:24:33 +08:00 |
|
dudaodong
|
3e9a2b5c59
|
refactor: refact Filter, ForEach, Map func with generics
|
2022-01-07 17:53:55 +08:00 |
|
dudaodong
|
1343683b08
|
checkout v2 branch for generics migration
|
2022-01-07 17:48:00 +08:00 |
|
dudaodong
|
c7e961704d
|
Merge branch 'main' of github.com:duke-git/lancet into main
|
2022-01-06 17:09:43 +08:00 |
|
dudaodong
|
cb7df1b57d
|
update: add some new feature comments for file and slice
|
2022-01-06 17:09:01 +08:00 |
|
dudaodong
|
eeff28606e
|
feat: add IsLink, FileMode, MiMeType funcs for file
|
2022-01-06 16:53:32 +08:00 |
|
dudaodong
|
86d4b25a2b
|
feat: and Zip and UnZip func for file operation
|
2022-01-06 15:15:59 +08:00 |
|
dudaodong
|
df9de3065b
|
feat: add ForEach func
|
2022-01-05 20:17:16 +08:00 |
|
dudaodong
|
71a2ea3f20
|
update: change case name for TestNone func
|
2022-01-05 19:46:51 +08:00 |
|
dudaodong
|
955f2e6de6
|
update func GetElapsedTime and None comment
|
2022-01-05 19:44:22 +08:00 |
|
dudaodong
|
4752725dd6
|
add Wrap and Unwrap func comment
|
2022-01-04 11:22:54 +08:00 |
|
dudaodong
|
07d1704cb2
|
release v1.1.7
|
2022-01-04 10:56:05 +08:00 |
|
dudaodong
|
c625a88067
|
refactor: rename package 'utils' to 'internal'
|
2021-12-31 11:36:11 +08:00 |
|
dudaodong
|
e15ae9eb98
|
update: add Md5String func and Md5File func
|
2021-12-31 11:25:43 +08:00 |
|
dudaodong
|
bb4ac01209
|
Merge branch 'main' of github.com:duke-git/lancet into main
|
2021-12-31 10:18:11 +08:00 |
|
dudaodong
|
2aed55f704
|
refactor: function in slice.go
|
2021-12-31 10:12:14 +08:00 |
|
dudaodong
|
051f20caef
|
release: v1.1.4, merge pr7 and pr8
|
2021-12-30 20:25:20 +08:00 |
|
dudaodong
|
745082fff1
|
fix: update api url for http timeout issue in the task of github actions
|
2021-12-29 11:39:48 +08:00 |
|
dudaodong
|
24b8da360e
|
release: v1.1.3, merge pr5 and pr6
|
2021-12-29 09:55:42 +08:00 |
|
dudaodong
|
8b1171d0cb
|
fmt: go fmt for request_test.go
|
2021-12-28 19:28:55 +08:00 |
|
dudaodong
|
a952cb208a
|
release v1.1.2
|
2021-12-28 11:28:00 +08:00 |
|
dudaodong
|
f239a8ca8e
|
fix: fix request timeout issue
|
2021-12-28 11:04:57 +08:00 |
|
dudaodong
|
5c6626b37e
|
fmt: go fmt for function.go
|
2021-12-28 11:00:43 +08:00 |
|
dudaodong
|
16b5101600
|
fix: fix TestHttpPost timeout issue
|
2021-12-28 10:56:54 +08:00 |
|
dudaodong
|
ec983b7aa6
|
fix: fix
Intersection slice issue
|
2021-12-28 10:16:53 +08:00 |
|
dudaodong
|
56fc2aabd6
|
fmt: fix lint issue
|
2021-12-28 10:08:08 +08:00 |
|
dudaodong
|
0ddd52225b
|
Merge branch 'main' of github.com:duke-git/lancet into main
|
2021-12-28 10:07:33 +08:00 |
|
dudaodong
|
40ec5bc0f6
|
fmt: fix lint issue
|
2021-12-27 20:40:54 +08:00 |
|
dudaodong
|
99faeccb05
|
feat: add Intersection, Union, Without func for slice/slice.go
|
2021-12-27 19:54:04 +08:00 |
|
dudaodong
|
ad777bc877
|
feat: add Intersection, Union, Without func for slice/slice.go
|
2021-12-27 19:47:45 +08:00 |
|
dudaodong
|
589ce7404f
|
refactor: update painc message
|
2021-12-27 15:12:18 +08:00 |
|
 BeyondandGitHub
|
b5541ea177
|
Merge pull request #2 from donutloop/slice/Some
Some: allocate slice to keep track of unused indexes is not necessary
|
2021-12-26 11:44:46 +08:00 |
|
dudaodong
|
3045d56503
|
release: update readme.file v1.0.8, ParseHttpResponse in netutil/request.go
|
2021-12-20 11:43:39 +08:00 |
|
dudaodong
|
f1dbd943aa
|
refactor: rename ParseResponse to ParseHttpResponse func in netutil/request.go
|
2021-12-17 17:29:28 +08:00 |
|
dudaodong
|
e87f3b70f0
|
feat: add ParseResponse func in netutil/request.go
|
2021-12-17 17:23:18 +08:00 |
|
dudaodong
|
26b59dd56b
|
update: update go test command in workflows/codecov.yml
|
2021-12-14 11:02:19 +08:00 |
|
dudaodong
|
143aba7112
|
release: update readme file, new feature for functional programming
|
2021-12-14 10:55:07 +08:00 |
|
dudaodong
|
60f3a72c88
|
refactor: update Compose func in function.go
|
2021-12-14 10:29:53 +08:00 |
|
dudaodong
|
d1b74cfcfb
|
feat: add Compose in function.go
|
2021-12-13 20:15:34 +08:00 |
|
dudaodong
|
0cf59323ff
|
update: update comment for ReadFileByLine in file.go
|
2021-12-10 10:51:50 +08:00 |
|
dudaodong
|
afec27fb4e
|
release: new feature for slice and fileutil
|
2021-12-10 10:50:46 +08:00 |
|
dudaodong
|
3021985df9
|
feat: add ClearFile, ReadFileToString, ReadFileByLine into file.go
|
2021-12-09 20:19:13 +08:00 |
|
dudaodong
|
188d52cd9d
|
feat: add Some and Every function in slice.go
|
2021-12-09 19:27:20 +08:00 |
|
dudaodong
|
8c8f991390
|
feat: add Find function in slice.go
|
2021-12-09 17:54:16 +08:00 |
|
dudaodong
|
b7bb7c6ae0
|
fmt: gofmt random_test.go
|
2021-12-01 20:38:54 +08:00 |
|
dudaodong
|
2e04a41f34
|
update version
|
2021-12-01 11:34:53 +08:00 |
|
dudaodong
|
acb7873832
|
fix: setQueryParam failed in request_util.go
|
2021-12-01 11:34:18 +08:00 |
|
dudaodong
|
8b3cc3266d
|
fix misspel in README_zh-CN.md
|
2021-11-30 09:51:21 +08:00 |
|
dudaodong
|
62c570d29b
|
update version
|
2021-11-29 20:24:28 +08:00 |
|