Commit Graph
100 Commits
Author SHA1 Message Date
dudaodong 50ef63e27d feat: add GroupWith func 2022-03-21 15:29:10 +08:00
dudaodong 3ae4a35d04 fix: format timezone issue 2022-03-19 19:24:28 +08:00
dudaodong 89ea0ee15a fix: format timezone issue 2022-03-19 19:08:34 +08:00
dudaodong 85399e23ed fix: format timezone issue 2022-03-19 18:42:22 +08:00
dudaodong 19a6f218e6 fix: format time in local timezone 2022-03-19 18:23:06 +08:00
dudaodong 39234d4722 Merge branch 'main' of github.com:duke-git/lancet into main 2022-03-17 19:46:31 +08:00
dudaodong 4b4310265b fix: update TestListFileNames 2022-03-17 19:46:19 +08:00
dudaodong 0334a6f02b docs: fix some issues 2022-03-17 11:55:52 +08:00
dudaodong ae0c613b8e add package comment 2022-03-17 11:55:08 +08:00
dudaodong 40b2560752 docs: add v2 in import path 2022-03-17 11:33:45 +08:00
dudaodong 50c6e51393 upgrade go module v2 2022-03-17 10:57:35 +08:00
dudaodong 1434e00712 docs: add func HeapSort 2022-03-17 10:11:34 +08:00
dudaodong 76c941cff0 update readme file 2022-03-16 19:39:21 +08:00
dudaodong 569902b528 fix: fix lru cache bug 2022-03-14 11:19:30 +08:00
dudaodong 0c06cdb29f Merge branch 'main' into v2 2022-03-04 17:42:18 +08:00
dudaodong 7ac6816532 docs: add Factorial 2022-03-04 17:37:49 +08:00
dudaodong 81c4216699 release v1.2.6 2022-03-04 17:31:38 +08:00
dudaodong 2e30389703 test: add TestTruncRound 2022-03-04 17:30:47 +08:00
dudaodong 0e1d5cf04b docs: add doc for mathutil package 2022-03-04 17:28:53 +08:00
dudaodong 4e2d84e4fc feat: add mathutil package 2022-03-03 15:55:36 +08:00
dudaodong e8b8ff8927 merge main branch 2022-03-01 15:00:02 +08:00
dudaodong 13ee045b99 docs: add section 'How to Contribute' 2022-03-01 14:55:42 +08:00
dudaodong 06bd407a0c feat: add LevelOrderTraverse func 2022-03-01 11:23:33 +08:00
dudaodong aa28479d11 feat: update deleteTreeNode func 2022-03-01 11:13:44 +08:00
dudaodong bf7db0ded2 feat: add DeletetNode 2022-03-01 11:04:38 +08:00
dudaodong dd1cbf2ee3 refactor: rename Insert to InsertNode 2022-03-01 10:11:37 +08:00
dudaodong 9d5db895c9 Merge branch 'main' into v2 2022-03-01 10:02:23 +08:00
dudaodong f1fd4c876b fmt: gofmt function.go 2022-02-28 10:11:07 +08:00
dudaodong cd63b2b18f docs: add func UUIdV4 in readme file 2022-02-28 10:09:23 +08:00
dudaodong bab9b4a6b3 release v1.2.5 2022-02-25 16:39:03 +08:00
dudaodong b3c34578bf fix: set request body content-length 2022-02-25 16:38:32 +08:00
dudaodong f26477904e refactor: set body byte for http post request 2022-02-25 15:31:39 +08:00
dudaodong 6b09da6e6e feat: add funcs to traverse bstree 2022-02-23 19:34:35 +08:00
dudaodong b2b6710a1b feat: add BSTree which is binary search tree 2022-02-21 16:48:27 +08:00
dudaodong e7ee2ed7cf Merge branch 'main' into v2 2022-02-20 11:35:43 +08:00
dudaodong 85886cf618 docs: add func UUIdV4 2022-02-20 11:09:51 +08:00
dudaodong a19a861552 feat: add func UUIdV4 2022-02-20 10:16:15 +08:00
dudaodong 1dfd1ec1d3 Merge branch 'main' into v2 2022-02-19 21:55:09 +08:00
dudaodong 96d57a6d24 docs: remove duplicated 2022-02-19 21:53:27 +08:00
dudaodong b48155c249 refactor: rename files *_util.go to *_internal.go 2022-02-19 21:52:10 +08:00
dudaodong 41685022c0 refactor: rename files *_util.go to *_internal.go 2022-02-19 21:51:58 +08:00
dudaodong 2e8834a2c1 docs: update slice.doc 2022-02-18 11:05:14 +08:00
dudaodong df098392c2 merge main branch 2022-02-18 10:28:47 +08:00
dudaodong 4e7274ce05 fix: check fn param must be function 2022-02-17 19:51:52 +08:00
dudaodong 2384b0e51f docs: fix func link mistake 2022-02-16 14:26:03 +08:00
dudaodong 6b6b938d1e docs: fix func link mistake 2022-02-16 14:24:18 +08:00
dudaodong 29d8987909 docs: update readme file 2022-02-16 14:12:42 +08:00
dudaodong 43fb3f1a06 release v1.2.4 2022-02-16 14:10:25 +08:00
dudaodong 34c28fece3 docs&refactor: rename request.go to http.go 2022-02-15 17:46:07 +08:00
dudaodong 40c2402493 feat: add func GetIps and GetMacAddrs 2022-02-15 17:38:09 +08:00
dudaodong c965e79bfc docs: add doc for begin and end time funcs 2022-02-15 16:37:48 +08:00
dudaodong eeadb1fecb feat: add funcs for get begin and end time for year, month, week, day, hour, minute 2022-02-15 16:07:59 +08:00
dudaodong 5e318a78d2 refactor: remove unused code 2022-02-15 11:19:07 +08:00
dudaodong d872d64fe0 feat: add CircularQueue 2022-02-15 10:34:14 +08:00
dudaodong c2257493a8 fix: fix panic info text 2022-02-14 15:36:44 +08:00
dudaodong 8a4c8218d2 update func DeQueue comment 2022-02-11 10:49:33 +08:00
dudaodong 92e1321d43 refactor: rename func Length -> Size 2022-02-11 10:48:38 +08:00
dudaodong 43fb907a81 feat: add LinkedQueue 2022-02-11 10:46:48 +08:00
dudaodong f551c56921 refactor: reconstructure souce file into the corresponding folder 2022-02-10 17:57:53 +08:00
dudaodong 85e1f711f5 feat: and Clear and IsEmpty func 2022-02-10 17:41:51 +08:00
dudaodong ade567a620 feat: add ArrayQueue data structure 2022-02-10 17:30:37 +08:00
dudaodong a26e519a3f refactor: rename func Length -> Size 2022-02-10 15:42:05 +08:00
dudaodong 797e47363f rename: rename StackArray -> ArrayStack, StackLink -> LinkedStack 2022-02-10 11:50:03 +08:00
dudaodong 20e1836eb7 rename: rename StackArray -> ArrayStack, StackLink -> LinkedStack 2022-02-10 11:49:46 +08:00
dudaodong 5ae746a1f0 rename: rename InsertByIndex -> InsertAt, UpdateByIndex -> UpdateAt, DeleteByIndex -> DeleteAt for release 2.0 2022-02-10 11:25:34 +08:00
dudaodong 17d271190b feat: add DoublyLink data structure 2022-02-10 10:57:17 +08:00
dudaodong 310f8bd1e1 feat: add Set data structure 2022-02-09 15:15:49 +08:00
dudaodong bf7a4e729f feat: add func Contain, Union, Intersection 2022-02-09 11:40:08 +08:00
dudaodong 1dd826f050 add logo png and update readme file 2022-02-08 14:43:57 +08:00
dudaodong 8b04aa5f31 release v1.2.3 update readme file 2022-02-07 16:35:01 +08:00
dudaodong 6855fe0bce docs: add doc for validator package 2022-02-07 12:41:58 +08:00
dudaodong 300be9e3dc docs: add doc for system package 2022-02-07 11:21:47 +08:00
dudaodong 384be2e2e9 docs: add doc for strutil package 2022-02-07 10:54:44 +08:00
dudaodong 1d71a0ad3a docs: add doc for slice package 2022-02-06 17:16:16 +08:00
dudaodong 0e0ed316f1 docs: fix code issue 2022-02-05 09:54:48 +08:00
dudaodong 8d0ff28304 update comment for StackLink 2022-02-04 22:45:01 +08:00
dudaodong cee9bb538f feat: add stacklink.go implements stack with link 2022-02-04 22:42:51 +08:00
dudaodong eb59d02a08 feat: add stackarray.go implements stack with array 2022-02-04 19:35:06 +08:00
dudaodong 10ed71a3a2 refactor: rename linknode.go to node.go 2022-02-04 09:22:16 +08:00
dudaodong 0e86244559 refactor: rename linknode.go to node.go 2022-02-04 09:21:35 +08:00
dudaodong 5ab150cad3 feat: add DeleteAtHead, DeleteAtTail, DeleteAt, Reverse, Size, GetMiddleNode funcs in singlelink 2022-02-03 16:37:34 +08:00
dudaodong 3546afe86c feat: add some functons of singlelink 2022-02-02 22:41:49 +08:00
dudaodong 961eedda04 docs: add doc for package retry 2022-02-01 18:57:41 +08:00
dudaodong f4881d2f49 docs: add doc for package random 2022-01-31 23:46:59 +08:00
dudaodong a3eb269bdb docs: add doc for package netutil 2022-01-31 23:34:44 +08:00
dudaodong e367123070 docs: fix code fmt issue 2022-01-30 22:01:52 +08:00
dudaodong 0f1d3fb553 docs: fix misspell in readme file 2022-01-30 21:54:24 +08:00
dudaodong a4658b2341 docs: add doc for package function 2022-01-30 21:53:25 +08:00
dudaodong 739113ef9e docs: add doc for package formatter 2022-01-30 19:04:07 +08:00
dudaodong 1629b861cd docs: add doc for package fileutil 2022-01-30 15:28:33 +08:00
dudaodong acce85557f fmt: fmt example code in docs 2022-01-29 22:49:54 +08:00
dudaodong 05aefbaa62 docs: add doc for package datetime 2022-01-28 16:25:49 +08:00
dudaodong 6988fdc451 docs: fix code fmt issue 2022-01-28 15:33:20 +08:00
dudaodong 5963830879 docs: fix source link disabled issue 2022-01-28 11:50:25 +08:00
dudaodong 134aded4d8 docs: add md doc for every package 2022-01-28 11:45:50 +08:00
dudaodong 35780d9dc1 update: add DesEcbEncrypt and DesEcbDecrypt comment 2022-01-28 10:53:14 +08:00
dudaodong c40ac9bb9b refactor: add error value return for GenerateRsaKey func 2022-01-28 10:51:40 +08:00
dudaodong 51bd974cc9 refactor: make some code cleaner 2022-01-27 20:09:42 +08:00
dudaodong 0b93fbffd9 fix: fix misspell in readme file 2022-01-27 11:13:19 +08:00
dudaodong 349f8b6c97 test: add some cases for convertor test 2022-01-27 10:55:37 +08:00