donutloop
3919160e38
Optimized: Capitalize ( #4 )
...
* Use unicode.ToUpper func to convert first letter in string to upper case
letter.
* Preallocate memory with correct length and cap because the final
string is not changing.
2021-12-28 10:04:15 +08:00
dudaodong
99faeccb05
feat: add Intersection, Union, Without func for slice/slice.go
v1.1.0
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
dudaodong
6ab4fca433
fmt: go fmt fileutil/file_test.go and function/function.go
2021-12-26 21:41:46 +08:00
dudaodong
b33a9cbfe3
release v1.0.10
v1.0.10
2021-12-26 21:20:18 +08:00
donutloop
9ad9d1805b
Regex validators: Precompile all known regex patterns ( #3 )
...
Reduce executions time of pattern matching, regex patterns are expensive to
compile at runtime.
2021-12-26 21:16:20 +08:00
dudaodong
0a1386f5a7
release v1.0.9
v1.0.9
2021-12-26 13:57:05 +08:00
Beyond
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
Marcel Edmund Franke
578b1bba65
Some: allocate slice to keep track unused indexes is not necessary
...
Waste of memory for those unused indexes. It got replaced by a simple
boolean to keep track of it.
2021-12-25 13:04:03 +01:00
dudaodong
3045d56503
release: update readme.file v1.0.8, ParseHttpResponse in netutil/request.go
v1.0.8
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
v1.0.7
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
72a89be8c1
feat: add function package for funcational programming
2021-12-11 13:30:11 +08:00
dudaodong
0cf59323ff
update: update comment for ReadFileByLine in file.go
v1.0.6
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
v1.0.5
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
v1.0.4
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
v1.0.3
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
Beyond
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
v1.0.2
2021-11-29 13:01:46 +08:00
dudaodong
4848647918
add go.mod
v1.0.1
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
dudaodong
3254591ab9
publish lancet
v1.0.0
2021-11-28 21:28:23 +08:00
Beyond
37edb0fc8f
Initial commit
2021-11-28 21:18:19 +08:00