DEV Community

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

Posted on • Originally published at inhere.github.io

1

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

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay