DEV Community

Cover image for GO tool library goutil released v0.6.4
Inhere
Inhere

Posted on • Originally published at inhere.github.io

GO tool library goutil released v0.6.4

gookit/goutil - πŸ’ͺ Helper Utils For Go: int, byte, string, array/slice, map, struct, dump, convert/format, error, web/http, cli/flag, OS/ENV, filesystem, system, test/assert, time and more.

GitHub: https://github.com/gookit/goutil


Changlog from v0.6.2 to v0.6.4

Fixed

  • πŸ› fix(env, str): fix the envutil test error and update some str util 2e7aa63
  • πŸ› fix(dump): makeslice: cap out of range. fix: #76 4ba9b10

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
  • ✨ 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.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
  • build(deps): bump golang.org/x/text from 0.6.0 to 0.7.0 1e3ea77

GitHub: https://github.com/gookit/goutil

Top comments (0)