Commit Graph
85 Commits
Author SHA1 Message Date
dudaodong 5899921054 fix: fix some text 2022-01-24 15:30:22 +08:00
dudaodong ec19014578 feat: add FindLast func 2022-01-24 15:29:14 +08:00
dudaodong 1ad990ce9d feat: add FindLast func 2022-01-24 15:28:47 +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 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 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 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 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 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 24ae47a12f remove v2 branch 2022-01-12 10:13:13 +08:00
dudaodong d8d85efedf update: add v2 branch 2022-01-12 10:05:21 +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 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
dudaodong 4e5d3c2603 fix: fix IsExist function in fileutil/file.go 2021-11-29 20:23:26 +08:00
dudaodong 561b590e13 update: fix misspell in readme file 2021-11-29 20:02:55 +08:00
dudaodong f2ed3c6270 test: add some unit test function for convertor, random, slice, and formatter 2021-11-29 17:27:02 +08:00
dudaodong fee6cb17f3 update: update validator test function 2021-11-29 15:53:48 +08:00
dudaodong 7d39d1319b add github workflow 2021-11-29 15:19:52 +08:00
dudaodong 59d7281967 Merge branch 'main' of github.com:duke-git/lancet into main 2021-11-29 15:06:59 +08:00
dudaodong bdf052819d delete .travis.yml 2021-11-29 15:06:52 +08:00
dudaodong 0148af4839 update: readme file 2021-11-29 14:41:14 +08:00
BeyondandGitHub 99b74e6fc6 add codecov.yml 2021-11-29 14:37:35 +08:00
dudaodong 499c1df9bd update: add godoc, goreport, lincense badges in readme file, add .travis.yml 2021-11-29 14:19:41 +08:00
dudaodong 6af13a01de update: add godoc, goreport, lincense badges in readme file, add .travis.yml 2021-11-29 14:19:23 +08:00
dudaodong 0c4b512084 fmt: fix some gofmt issue 2021-11-29 13:01:46 +08:00
dudaodong 4848647918 add go.mod 2021-11-29 11:48:12 +08:00
dudaodong 45fc84d1f2 update readme file and remove go.mod 2021-11-29 11:47:36 +08:00
BeyondandGitHub 37edb0fc8f Initial commit 2021-11-28 21:18:19 +08:00