Skip to content

Releases: gookit/goutil

v0.6.5

19 Feb 09:20
Compare
Choose a tag to compare

Change Log

Feature

  • ✨ feat(cli,cflag): add add new flag var ConfString 40a14e0
  • ✨ feat(textutil): add func ParseInlineINI quick parse inline INI config 9cd6487
  • ✨ feat(str): add QuickMatch and GlobMatch for match string 8d5e4f4
  • ✨ feat(str): add struct Builder for safe build string b34245e
  • ✨ feat(err,byte,go): add some new util functions 3d304b0
  • ✨ feat(arr,map): add new util func CombineToSMap 3699a1a
  • ✨ feat(cflag,struct): add new util func IsGoodName, ParseTagValueQuick 40ccfb8

Update

  • ♻️ up(errorx): add errorx/panics from testutil/panics 06b949d
  • 👔 up(arr,sys): add alias method for exist util func dcc5261
  • 📝 up(doc): update and re-gen the readme docs e6498a3

What's Changed

New Contributors

Full Changelog: v0.6.4...v0.6.5

v0.6.4

11 Feb 03:27
Compare
Choose a tag to compare

Change Log

  • 🐛 fix(dump): makeslice: cap out of range. fix: #76 4ba9b10

v0.6.3

11 Feb 03:10
Compare
Choose a tag to compare

Change Log

Update

  • ✨ up(env,sys): update some func and add new util func 9eaddb5
  • 👔 up(str): update the SplitInlineComment() logic 31445cd
  • 👔 up(sys): update the SearchPath(), support limit result 67cbae1
  • ✅ up(sys,env,map): add more tests case for util func 392536c
  • 👔 up(fs,sys): update some fs and sys util func run logic 7727628
  • 👔 up(struct): update some structs comments and update readme f461852
  • 👔 up(str): update some string util comments and func 796d1fe

Other

  • build(deps): bump golang.org/x/text from 0.6.0 to 0.7.0 1e3ea77

v0.6.2

02 Feb 05:08
Compare
Choose a tag to compare

Change Log

Fixed

  • 🐛 fix(env, str): fix the envutil test error and update some str util 2e7aa63

Feature

  • 👔 feat: str - add some check util func 0e4792a
  • 👔 feat: str/textutil - support quick replace vars for give text ecc23cb
  • 👔 feat: sys,proc - add and update some util func aa78114
  • ✨ feat: fs - add more new fs util functions 3352512
  • ✨ feat: map, struct - add new util functions 90af09e
  • ✨ feat: stdio - add new util functions ea243d6
  • ✨ feat: arr - add new util functions for in/notIn check 2a18ca2
  • ✨ feat: testutil - add new util func IsMatchAll() d0dade8
  • ✨ feat: math - add new util func for compare value 176923b
  • feat: error, test - add some new helper util fuctions 7188216
  • ✨ feat: fs - add more make dir util func c4447cb
  • ✨ feat: env,sys - add new func for get all env info map b3d7669
  • ✨ feat: str - add new func for check ignore case string 746eb35
  • ✨ feat: goutil - add new func for quick run go func 97a2863
  • ✨ feat: arr - add new func for quick convert slice type 75d8d89
  • ✨ feat: reflects - add new func for convert slice value and more util f87fc86
  • ✨ feat: structs - func InitDefaults() support set slice field 948fa70
  • ✨ feat: byte - add StrOrErr(), SafeString() for convert to string 767ed80
  • ✨ feat: cmdr - add new option for output result to OS 6aaea78

Update

  • 👔 up: str, math - add new util func OrElse() cb21fbc
  • 👔 up: str - update some util func and add more tests a3e07f4
  • 🐛 up: textscan - fix multi inline comments parse error bf68c94
  • 👔 up: str,math - update some util func eaf0990
  • 👔 up: str,byte - add and update some util func cf5d34e
  • 👔 up: byte,cflag - update and add some new tests 6e47f69
  • 👔 up(env, str): update the env var parse and strutil.Valid() 5193849
  • 👔 up(str): update some str value get func 676fe4e

Other

  • build(deps): bump golang.org/x/text from 0.5.0 to 0.6.0 79d7781
  • doc: re-generate the README docs 42e3084
  • doc: update the doc parse logic, support generic types 030676d
  • doc: generate and update README docs f342e92

v0.6.1

12 Dec 06:14
Compare
Choose a tag to compare

Change Log

Feature

  • ✨ feat: add new sub package byteutil provide some bytes utils e5a08d4
  • ✨ feat: add new sub package strutil/secutil provide aes cbc crypto function e121b7c
  • ✨ feat(dump): support dump []byte as string and more new options #74 025464a
  • ✨ feat(structs): add new util func for check struct field is exported 179afea
  • ✨ feat(dump): support skip nil field dump on map, struct by option SkipNilField #41 a55c5ca
  • add SubstrCount and test case. 1bff3b3

Update

  • up: str, math - update some for int64 to string convert 449331c
  • 👔 up: str - update bytes util and add new hash utils 8eef351
  • 🔥 up: remove deprecated package common 17c4895

Other

  • build(deps): bump golang.org/x/text from 0.4.0 to 0.5.0 5297b13
  • chore: update some readme and re-generate readme docs c3f5086
  • 💡 chore: add package comment or exported var comment 6ace647
  • 💡 chore: add exported var comment, fix some name style ea10bc7
  • 💡 chore: add comment for exported vars, methods. bc0a0b8

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0

29 Nov 03:41
Compare
Choose a tag to compare

Change Log

NOTE: since v0.6.0 require go 1.18

Refactor

  • refactor: replace Readdir(-1) with ioutil.ReadDir cd99ed9

Feature

  • up: sysutil/cmdr - add more feature methods for cmdr.Cmd d769fc1
  • feat: errorx - add some feat error types to errorx b177c93
  • feat: add some commonly asset function like NotEqual, NoError 767d6c6
  • feat: arr - add new func Map/Column for mapping an object list to flatten list 3a623fd
  • feat: add sync errgroup to goutil package dd9e08d
  • feat: str - add more padding util functions 55b0e17

Update

  • up: sys/cmdr - add more methods to Task, update some tests f13aac2
  • up: env - add some env func, update readme docs f5ee49b
  • up: std - remove some unused files and pkg on std 0aaeb53
  • up: sysutil/cmdr - update the task, runner logic, rm dep cliutil b7ca58f
  • up: str, cmdr - add some new tool function and method 496f72e
  • up: require go >= 1.18, and only tests on go 1.18+ 965e4f0
  • up: remove any.go file, update some arr util functions 623fc20
  • up: migrate interface{} to go1.18 any keywords a90d655
  • up: migrate more interface{} to go1.18 any keywords b198b73
  • up: update readme template and re-generate README 6a1054c
  • up: errorx - update extend error types, add more unit tests 71fc27a
  • up: str - update and add some encode util functions 9adb2fe
  • up: str - update and add some rune util functions 887ac5b
  • up: net - update and add some http client util functions 7f9bebc
  • up: net - remove not used sub package httphelper 0caf321
  • up: com, dump - add some common types and update for dump slice 8fc1499
  • up: fix some tests and code style error daabe2b
  • up: modify some dep package logic 3640638
  • up: fix cli read error and add new cli util func 40e02c7

Other

  • build(deps): bump golang.org/x/text from 0.3.8 to 0.4.0 6619a9a
  • style: format all sub pkg codes by go fmt 3f1a328
  • chore: migrate more interface{} to go1.18 any keywords 7ba341d
  • build(deps): bump WillAbides/setup-go-faster from 1.7.0 to 1.8.0 d5689ca
  • doc: update and re-generate README docs 5346ec5
  • chore: add desc commonts for const, vars and package ad8ce94
  • chore: re-genreate docs and fix pkg not import c6fc881

New Contributors

Full Changelog: v0.5.15...v0.6.0

v0.5.15

16 Oct 14:22
Compare
Choose a tag to compare

Change Log

Update

  • up: textscan - update the multi line value match logic 1ac1ddc
  • up: cflag - update some comments for type 9027fde

Other

  • chore: textscan - update pkg readme f6ba94b
  • doc: update top and some sub pkg README docs 87c962d
  • chore: update toe arr, str, test pkg README 7526dca

v0.5.14

15 Oct 13:14
Compare
Choose a tag to compare

Change Log

Feature

  • feat: strutil/textscan - implements a simple testscan for quickly parse lines text 1b9f75c

Update

  • up: stdio, str - update and add some util functions afdcc45
  • up: com, str - add some consts and add some tests f9e4a30
  • up: update the textscan some logic and update readme 75780ae

Other

  • build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 028b960
  • chore: update and re-generate readme docs 3609336

v0.5.13

04 Oct 06:02
Compare
Choose a tag to compare

Change Log

Update

  • up: cflag - update some util func, add some new files ae3ee9f
  • up: structs - update the tag value parse func, allow limit keys 4e6e065
  • up: str - add some new alias for commonly funcs 99246f0
  • up: math - update the value compare op chars 5c30935
  • up: rename str convert to conv.go baae69d

Other

  • build(deps): bump morphy2k/revive-action from 2.4.0 to 2.4.1 145eac6
  • chore: fix str pkg build error, update some comments df90337
  • chore: timex - fix unit test error and rename type TimeX to Time 7eaa5e5
  • timex add some sub method 1f09356

v0.5.12

14 Sep 14:54
Compare
Choose a tag to compare

Change Log

Refactor

  • refactor: refactoring the pkg /common to /comdef, will be deleted common pkg at soon 2547a11

Feature

  • feat: reflects - add func ValToString and String for convert reflect.Value to string 985e956
  • feat: map - add new func Flatten, FlatWithFunc for flat tree map ee252cd
  • feat: reflects - add new func FlatMap for handle tree-map value b90b821
  • feat: cflag - add a simple cli application implement 3aa688f

Update

  • up: str, math - remove pkg ErrConvertFail, replace to common.ErrConvType 9f349ab
  • up: goutil, internal - add some new util conv functions bad3157
  • up: replace all use pkg /common to pkg /comdef d21b1a9
  • up: structs - update the structs.Data and LiteData logic c4cf02b
  • up: test - add new env mock util func, fix some test error 9ebc0e0
  • up: map - move the flat tree map logic to pkg /reflects ace83c6
  • up: cflag - add more unit tests and update readme 4e38f78
  • up: std - add more func unit tests fa5a33c
  • up: net,http - add more func unit tests 0edd1cb

Other

  • doc: update readme and re-generate readme 1711db9
  • chore: update and re-generate README 88afe8e