v0.6.9
Change Log
Feature
- ✨ feat(str): add new util func: DatetimeNo(), RandWithTpl() and update convert to string logic 7f57ef7
- ✨ feat(byte): add new util func: Random(), AppendAny() and with some unit tests e86313b
- ✨ feat(fs): add new util func ReadOrErr(), ReadStringOrErr() and with some unit tests 4ab579b
- ✨ feat(httpreq): add new func for create and store client 2d9914c
- ✨ feat(str): add new func SimpleMatch() for match string edc7773
- ✨ feat(cli,sys): add new util func cliutil.Confirm() and sysuti.Runner.Reset() e8fd839
- ✨ feat(errorx): add new util func Err(), Errf() for quick create go error fb2a7c2
- ✨ feat(cli): add new cli util command ReadAsBool() and update Confirm() 6c2f703
- ✨ feat(str): add util func ToByteSize(),SafeByteSize() for convert size string to size byte f8adc83
- ✨ feat(test): add new struct DirEnt for mock fs.DirEntry be16485
- ✨ feat: structs.InitDefaults() support handle nested struct ptr field f8d29b2
- ✨ feat: structs add new util func ToSMap(), TryToSMap(), TryToSMap() 6886bd7
- ✨ feat: testutil/assert add new util func NotContainsKey(), NotContainsKeys() 6dec19c
- ✨ feat: reflects add new util func UnexportedValue(), SetUnexportedValue() 0815e45
- ✨ feat: maputil - add new util func HasOneKey(), CombineToMap(), TryAnyMap() ab99ecf
- ✨ feat: arrutil - add new util func AnyToSlice(), CombineToMap() 9e902da
- ✨ feat: jsonutil - add new util func IsJSON(), IsJSONFast() for check JSON d1fb1c8
- ✨ feat: reflects - add new util func IsSimpleKind(), SetRValue() 3849a6d
- ✨ feat: structs - enhanced the InitDefaults() support init struct-ptr field and struct-slice field 657a56a
- ✨ feat: structs - enhanced the SetValues() support set value for struct-ptr field 406a233
- ♻️ feat: fsutil/finder - refactoring the find and filter logic 359d163
- ✨ feat: byteutil - add new util func Cut() for split []byte d3c8d4b
- ✨ feat: timex - add new util func NowAddSec(), IsDuration(), InRange() ea05a1e
- ✨ feat: strutil - add new util func ParseSizeRange() for parse size range expr 94d4ac5
- ✨ feat: mathutil - add new util func InRange(), OutRange(), InUintRange() 90843e9
- 👔 feat: timex - update the ToDuration() for support unit d,w and long unit hour,min,sec b8b9075
- ♻️ feat: fsutil/finder - refactoring the file finder completed 66764f6
- ✨ feat: str - add new func LikeMatch() simple match string like the SQL LIKE 0a10991
- ✨ feat: fsutil - add new func RemoveSub() quick remove subs in dir 1d52b3e
- ✨ feat: maputil - enhance the func GetByPath() support like top.*.field match paths e025933
Update
- 👔 up(fmt,math): update some util and convert func code logic 16f391d
- 👔 up(str,math): update the convert to string func logic for time.Duration dadc1ca
- 👔 up(fs): update the Name() func for handle empty input bec4ab9
- 👔 up(net/httpheader): update the ResponseToString() and add new sub pkg httpheader 4de6408
- 👔 up(str): update the func SimpleMatch() support match end withs 6cb3562
- 👔 up(sys): update the Cmd, add cmd var support 97d73fa
- 👔 up(str): optimize the ToByteSize() and GlobMatch() logic 777ad5f
- 👔 up: all - update some for dump format and cflag arg format 7bfa5f4
- 🔥 up: file/finder - refactoring the find elem filter logic ad445f3
- 👔 up: test,fs - update some test util and fs util logic c7af933
- 👔 up: math - rename the func CompIntOrFloat() to CompValue() ba11691
- 👔 up: timex - add some new consts and update the ParseRange() logic b6942a2
- 👔 update: struts - InitDefaults() support init non-zero ptr sub-struct field 0c460d4
- 💥 update: structs - InitDefaults() for sub-struct must with tag mark 3c90863
Other
- build(deps): bump golang.org/x/sys from 0.6.0 to 0.7.0 (#92) 66c2bec
- build(deps): bump golang.org/x/text from 0.8.0 to 0.9.0 (#94) 90ccf33
- build(deps): bump golang.org/x/term from 0.6.0 to 0.7.0 (#93) 97197ea
- 📝 doc(all): add some README to sub pkg and update top README 0528091
- ⬆️ dep: update golang/x deps to latest version f420df7
- build(deps): bump morphy2k/revive-action from 2.5.1 to 2.5.2 (#98) 0f1bbc1
- ✅ chore: all - fix some unit test error 18aa036
- test: finder - fix the fsutil finder test error df49e98
- test: finder - fix the test error on Windows OS 9a94d89
- 📝 doc: update and re-generate README docs 5e9d147
- style: update and fix some code style error fffbd5c
- 🎨 style: update some words style and update ci config af89719
Full Changelog: v0.6.8...v0.6.9