Commit Graph
100 Commits
Author SHA1 Message Date
dudaodong 6f17ba9116 docs: add doc set_zh-CN.md 2022-06-06 11:20:55 +08:00
dudaodong 56d1e5e95c docs: fix code format 2022-06-06 11:12:53 +08:00
dudaodong 11d86d0270 docs: add doc for Set datastructer 2022-06-06 11:07:43 +08:00
dudaodong d1c20a1da8 fix: fix function comment 2022-06-06 11:07:13 +08:00
dudaodong f87ab89207 docs: fix misspell in doc queue.md 2022-06-06 10:34:18 +08:00
dudaodong 9ebb0c7920 docs: add doc queue_zh-CN.md 2022-06-06 10:30:26 +08:00
dudaodong 31a5ed11a3 docs: add doc for PriorityQueue 2022-06-05 17:32:37 +08:00
dudaodong a706d488e6 feat: add Size func for PriorityQueue 2022-06-05 17:29:36 +08:00
dudaodong 61251fb0f1 refactor: change func Length to Size in CircularQueue 2022-06-05 16:57:03 +08:00
dudaodong 747dc30b02 refactor: Change param __TEXT __DATA __OBJC others dec hex to in NewCircularQueue function 2022-06-05 16:49:30 +08:00
dudaodong d54f27d9a9 docs: add IsFull function for ArrayQueue 2022-06-05 16:46:01 +08:00
dudaodong dbca2f6be4 feat: add IsFull function for ArrayQueue 2022-06-05 16:43:15 +08:00
dudaodong 2ef9b56d22 feat: add Contain function for LinkedQueue 2022-06-05 16:41:16 +08:00
dudaodong 52ecde7e24 docs: add doc for LinkedQueue 2022-06-05 16:36:56 +08:00
dudaodong a7dce5e4d3 docs: add doc for LinkedQueue 2022-06-04 18:57:43 +08:00
dudaodong 4718da44f4 refactor: rename function 'EnQueue' -> 'Enqueue', 'DeQueue' -> 'Dequeue' 2022-06-04 18:53:46 +08:00
dudaodong 1aa1f95524 docs: add doc for queue 2022-06-04 18:49:24 +08:00
dudaodong d922b2e778 docs: fix code format 2022-06-04 11:26:39 +08:00
dudaodong 5a7b3c4a37 docs: add stack_zh-CN.md doc 2022-06-03 19:20:14 +08:00
dudaodong 1c2b1a2f02 docs: update Peak function comment 2022-06-02 22:26:26 +08:00
dudaodong c68440ecf8 docs: add docs for stack 2022-06-02 22:25:11 +08:00
dudaodong 6a48b3f99e docs: add docs for linklist 2022-06-01 20:48:30 +08:00
dudaodong bab9ae32d4 docs: add docs for package datastructure DoublyLink 2022-06-01 20:30:30 +08:00
dudaodong f0e6e94c5e fix: fix incorrect comment for DoublyLink Clear function 2022-06-01 20:16:34 +08:00
dudaodong a6fe155781 docs: fix code format 2022-05-31 21:47:56 +08:00
dudaodong d5be9009fc docs: update list doc 2022-05-31 21:43:26 +08:00
dudaodong ca47be41f6 fix: fix incorrect comment for SinglyLink Clear function 2022-05-31 21:42:31 +08:00
dudaodong ff5db30208 docs: add docs for package datastructure SinglyLink 2022-05-31 21:41:25 +08:00
dudaodong a429d46072 docs: add list_zh-CN.md 2022-05-30 21:09:21 +08:00
dudaodong 7b84fbfd94 fix: fix misspellings -> 2022-05-30 20:54:34 +08:00
dudaodong fc6f618885 docs: add docs for package datastructure list 2022-05-30 20:53:11 +08:00
dudaodong 7f03c3b0a2 docs: update algorithm package doc 2022-05-30 17:53:21 +08:00
dudaodong 4b4386bd47 Merge branch 'v2' of github.com:duke-git/lancet into v2 2022-05-28 10:54:55 +08:00
dudaodong 10a1706613 docs: update function comments 2022-05-28 10:51:15 +08:00
dudaodong c949059fb1 release: v2.0.7 2022-05-18 15:29:55 +08:00
dudaodong 9c6d489db7 docs: add some new funcs documentation 2022-05-18 15:28:18 +08:00
dudaodong 45436798af fix: fix TestMinBy test function 2022-05-18 15:23:57 +08:00
dudaodong bd0eb0682c docs: add doc for func MaxBy and MinBy 2022-05-18 15:22:44 +08:00
dudaodong bdbc06b095 docs: add doc for funcs IndexOf and LastIndexOf 2022-05-18 15:00:09 +08:00
dudaodong 2f504ce851 test: add unit test for func LastIndexOf 2022-05-16 11:11:40 +08:00
dudaodong 02a24b461c test: add unit test for func LastIndexOf 2022-05-16 11:05:52 +08:00
dudaodong 3f7a81c005 test: add unit test for func IndexOf 2022-05-16 11:04:40 +08:00
dudaodong cc6e10ee5a add func IndexOf and LastIndexOf 2022-05-16 10:40:33 +08:00
dudaodong f24ad26692 release: v2.0.6 2022-05-12 10:13:13 +08:00
dudaodong 88de9bfac2 docs: add doc for SplitEx function 2022-05-12 10:12:19 +08:00
dudaodong e4777a0986 docs: add doc for SplitEx function 2022-05-12 10:11:12 +08:00
dudaodong 5eb056277d update readme file 2022-04-27 11:51:02 +08:00
dudaodong 4e6d586251 update readme file 2022-04-27 11:42:06 +08:00
dudaodong 61c7012e17 test: add unit test TestBSTree_IsSubTree 2022-04-27 11:36:51 +08:00
dudaodong 0d48778886 feat: add HasSubTree func for BSTree 2022-04-27 10:43:01 +08:00
dudaodong e98c46c903 feat: add IsSubTree func for BSTree 2022-04-27 10:36:11 +08:00
dudaodong 155f287ab0 refactor: add param comparator in NewBSTree func 2022-04-26 11:04:04 +08:00
dudaodong 652916b7d7 test: add unit test for PriorityQueue Dequeue function 2022-04-26 10:56:24 +08:00
dudaodong 955de2bdbf feat: add Dequeue function 2022-04-26 10:50:27 +08:00
dudaodong a4c1d40faa test: add unit test for PriorityQueue Enqueue function 2022-04-26 10:45:19 +08:00
dudaodong f155e0caa6 test: add unit test for PriorityQueue Enqueue function 2022-04-26 10:40:48 +08:00
dudaodong fb0332449c feat: add IsEmpty and IsFull for PriorityQueue 2022-04-26 10:24:10 +08:00
dudaodong 68f0fd1d4c feat: add PriorityQueue 2022-04-26 10:19:31 +08:00
dudaodong 70995c5098 feat: add PriorityQueue 2022-04-26 10:18:43 +08:00
dudaodong 55e62ed8ca feat: add PriorityQueue 2022-04-26 10:18:06 +08:00
dudaodong e614274f07 release v2.0.5 2022-04-24 10:34:25 +08:00
dudaodong c524eb04a1 docs: add doc for concurrency in readme file 2022-04-24 10:32:55 +08:00
dudaodong 985b3cddd8 fix: fix TestTee func 2022-04-24 10:26:07 +08:00
dudaodong abadeec007 docs: add doc for channel.go 2022-04-24 10:17:34 +08:00
dudaodong 3ab05154aa docs: add doc for channel.go 2022-04-22 17:12:41 +08:00
dudaodong 9f1c89bf0e refactor: refact FanIn func in channel.go 2022-04-21 14:31:43 +08:00
dudaodong 9444582e44 fix: fix OrDone func 2022-04-21 14:19:38 +08:00
dudaodong c27ccad2b9 refactor: refact Or func in channel.go 2022-04-21 14:13:19 +08:00
dudaodong d1c6c57700 feat: add func Bridge 2022-04-21 11:26:02 +08:00
dudaodong 922999037f feat: add func Tee 2022-04-21 11:18:45 +08:00
dudaodong 046e90486d feat: add func in channel.go 2022-04-19 16:21:23 +08:00
dudaodong fc6dee9e77 feat: add func in channel.go 2022-04-19 16:03:12 +08:00
dudaodong 980ff2c363 feat: add FanIn for channel 2022-04-19 15:34:26 +08:00
dudaodong 763aa8e10d refactor: replace param done channel with ctx context 2022-04-19 14:42:55 +08:00
dudaodong 83c0d1d6e6 fix: fix misspellings 2022-04-15 17:02:34 +08:00
dudaodong dfc6b868fb feat: add RepeateFn function 2022-04-15 16:32:55 +08:00
dudaodong f66c0938e5 feat: add Take function to generate a chan of values taken from another chan 2022-04-15 16:22:19 +08:00
dudaodong a4900fecb4 feat: add Repeate function to generate a chan of repeate values 2022-04-15 16:08:14 +08:00
dudaodong dc25bdab2f feat: add Generate chan function in concurrency package 2022-04-15 15:56:06 +08:00
dudaodong bb23c9eef8 release v2.0.4 2022-04-14 11:51:34 +08:00
dudaodong b4cd0750e4 fix: fix http post to support multipart/form-data header 2022-04-14 11:48:39 +08:00
dudaodong c960841491 docs: update sort function doc 2022-04-12 14:45:22 +08:00
dudaodong 5d6f9443fd refactor: rewrite sort function 2022-04-12 14:30:43 +08:00
dudaodong 5483380066 refactor: rewrite arrayqueue 2022-04-08 17:39:54 +08:00
dudaodong 20b9e5353e fix: fix goreport issue 2022-04-06 11:33:48 +08:00
dudaodong 1ec3a5af87 release v2.0.3 2022-04-06 10:54:54 +08:00
dudaodong c51a806aff feat: add SymmetricDifference func for set 2022-04-01 18:06:34 +08:00
dudaodong 3c16d50c4b refactor: rename ReverseIntersect to SymmetricDifference 2022-04-01 18:05:02 +08:00
dudaodong 21dd6ab8aa feat: add SymmetricDifference func for set 2022-04-01 18:02:12 +08:00
dudaodong f5bf5183cc feat: add Minus func for set 2022-04-01 16:48:37 +08:00
dudaodong f28b5b2f92 feat: add Minus func for set 2022-04-01 16:44:25 +08:00
dudaodong 79867e8a63 feat: add ReverseIntersect function 2022-03-31 19:42:27 +08:00
dudaodong 19939c2b03 feat: add Minus func 2022-03-31 18:00:11 +08:00
dudaodong bf7ffbfa8d feat: add Intersect func 2022-03-31 16:56:12 +08:00
dudaodong cbb46f9cb4 feat: add Filter func 2022-03-30 19:52:43 +08:00
dudaodong 3ad142d5d7 feat: add ForEach func 2022-03-30 19:41:55 +08:00
dudaodong 1a436aeb41 feat: add Merge func 2022-03-30 18:06:22 +08:00
dudaodong 1af8fe8daf test: add unit test for Keys and Values func 2022-03-30 17:45:17 +08:00
dudaodong ae54c8db6f feat: add Values func 2022-03-30 17:34:01 +08:00
dudaodong be942ec33e feat: add package maputil and Keys func 2022-03-30 17:27:50 +08:00