donutloop
ac3baac5c6
list: Add LastIndexOfFunc and IndexOfFunc method ( #48 )
...
* LastIndexOfFunc returns the index of the last occurrence of the value in this list satisfying f(data[i])
* IndexOfFunc returns the first index satisfying f(v)
2022-07-22 10:04:31 +08:00
donutloop
a82b5dd206
list: add LastIndexOf ( #46 )
...
Add LastIndexOf method too List and fix doc
LastIndexOf returns the index of the last occurrence of the value in this list.
if not found return -1
2022-07-21 15:19:18 +08:00
CyJaySong
ac0fb5ef25
Update convertor_zh-CN.md ( #45 )
...
fix docs
v2.1.3
2022-07-21 11:22:30 +08:00
dudaodong
9bd1c205fe
release: update readme file and release v2.1.3
2022-07-21 11:16:19 +08:00
dudaodong
6ccf9fd3cf
doc: add document for GetOsBits function
2022-07-21 11:05:17 +08:00
dudaodong
c02ef2c62d
doc: format code in markdown file
2022-07-20 19:42:17 +08:00
dudaodong
6414031754
doc: fix mistaken link to map source file
2022-07-20 19:38:14 +08:00
dudaodong
5336130570
doc: add funcation IsDisjoint
2022-07-20 19:33:37 +08:00
dudaodong
bfa46d46a2
doc: format code in markdown file
2022-07-20 19:33:02 +08:00
dudaodong
aab28b914c
Merge branch 'main' into v2
2022-07-20 17:48:26 +08:00
donutloop
336e454ce7
maputil: IsDisjoint ( #43 )
...
Verifies map a and map b have no keys in common.
if it returns true then the maps are disjoint otherwise a join in some form available
2022-07-20 17:26:54 +08:00
anyanfei
35a50bd792
System: Add the system bits judgment ( #44 )
...
Co-authored-by: anyanfei <anyanfei@yungengxin.com >
2022-07-20 17:25:14 +08:00
dudaodong
2fd23f02f6
doc: format code in markdown file
2022-07-20 15:44:33 +08:00
dudaodong
aad5b447c9
doc: format code in markdown file
2022-07-20 15:13:44 +08:00
dudaodong
cece13e929
fix: fix aes/des cbc crypto iv bug
2022-07-20 11:42:52 +08:00
donutloop
ecf325a06c
maputil: preallocate len and cap for keys and values slice ( #41 )
...
Length of keys and values is know in advance, use this knowledge to preallocate memory.
Space usage increases by const factor
2022-07-19 15:04:19 +08:00
dudaodong
44370aef5e
refactor: change variable name to
2022-07-18 15:52:51 +08:00
dudaodong
1782b11ec4
refactor: refact Intersection function
2022-07-18 15:33:45 +08:00
dudaodong
fe6495123c
doc: add document for EncodeUrl function
2022-07-18 11:31:12 +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
506a8b4776
feat: add EncodeUrl function
2022-07-15 16:29:41 +08:00
dudaodong
47ecfbfd5f
docs: add doc for Flatten function
2022-07-14 17:25:47 +08:00
dudaodong
82f7401368
feat: add Flatten function
2022-07-14 11:53:16 +08:00
dudaodong
068c878d1e
release v2.1.2
v2.1.2
2022-07-13 10:40:03 +08:00
dudaodong
47b2402345
docs: update readme file add new functions
2022-07-13 10:32:03 +08:00
dudaodong
a245716f99
docs: add doc for new function: ToChannel ToMap MapToSlice
2022-07-13 10:26:49 +08:00
dudaodong
71c85bb8f0
docs: add doc for functions GetRequestPublicIp and IsInternalIP
2022-07-13 10:09:23 +08:00
dudaodong
5edafec393
Merge branch 'main' into v2
2022-07-13 09:55:04 +08:00
tangqiu0205
957878dd98
feat: add func GetRequestPublicIp and IsInternalIP ( #40 )
...
* add: add func GetRequestPublicIp and IsInternalIP
* fix: fix test fileutil fail
Co-authored-by: zhanghu <305835360@qq.com >
2022-07-13 09:52:35 +08:00
dudaodong
12e979cf3c
feat: add ToMapToSlice function
2022-07-11 11:28:46 +08:00
dudaodong
ded42f8ff5
feat: add ToChannel function
2022-07-11 11:11:16 +08:00
dudaodong
d06cde3fcf
feat: add ToMap function
2022-07-11 10:27:38 +08:00
dudaodong
9cd8bfb8e0
docs: compress log png
2022-07-08 10:52:53 +08:00
dudaodong
51c9877224
docs: update change param type to for some slice functions
2022-07-07 17:47:02 +08:00
dudaodong
f7f6427919
merge main branch
2022-07-07 16:35:46 +08:00
tangqiu0205
56b6844a2d
update: update type constraint any -> Comparable. ( #37 )
...
* update: update type constraint any -> Comparable.
* update: update type constraint any -> Comparable.
Co-authored-by: zhanghu <305835360@qq.com >
2022-07-07 16:31:48 +08:00
dudaodong
cce56f0479
docs: update query string type in http request
2022-07-07 11:21:16 +08:00
dudaodong
3dbd7d8980
fix: sending post request with header multipart/form-data support query string type is map[string]string
2022-07-07 10:23:15 +08:00
dudaodong
3625921912
fix: fix missused function ToSlice -> ToSlicePointer
2022-07-06 11:31:11 +08:00
dudaodong
1faaf54986
release v2.1.1
v2.1.1
2022-07-06 11:25:02 +08:00
dudaodong
efe1fba267
docs: add doc for heap datastructure
2022-07-06 11:22:00 +08:00
dudaodong
0c43cb3f68
docs: update convertor package doc
2022-07-06 11:17:45 +08:00
dudaodong
c25111e349
docs: add doc for ToSlice and ToSlicePointer function
2022-07-06 11:15:51 +08:00
dudaodong
a61ab5716e
docs: add doc for ToPointer function
2022-07-06 11:04:30 +08:00
dudaodong
628404dc7f
fix: fix lint error
2022-07-06 10:57:45 +08:00
tangqiu0205
bab0a27e40
Add ToPointer,ToSlicePointer,ToSlice func ( #36 )
...
* Add ToPointer func
* Add ToSlice and ToSlicePointer func
Co-authored-by: zhanghu <305835360@qq.com >
2022-07-05 19:15:54 +08:00
dudaodong
fc0e104591
Merge branch 'main' into v2
2022-06-30 14:12:54 +08:00
dudaodong
e83e9a1651
docs: add doc for MaxHeap
2022-06-29 16:43:56 +08:00
dudaodong
3d2e6295c4
docs: add doc for MaxHeap
2022-06-29 15:40:14 +08:00