goutil
go-baseutils
goutil | go-baseutils | |
---|---|---|
11 | 2 | |
1,824 | 18 | |
1.8% | - | |
8.9 | 4.9 | |
11 days ago | 2 months ago | |
Go | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
goutil
-
Release v0.6.10 · gookit/goutil - 💪 Helper Utils(700+): int, byte, string, array/slice, map, struct, dump, convert/format, error, web/http, cli/flag, OS/ENV, filesystem, system, test/assert, time and more.
:sparkles: feat: testutil - add new pkg fakeobj for create fake objects https://github.com/gookit/goutil/commit/f410329061791e9378ee7db8da40d2af25bec827
-
Release v0.6.8 · gookit/goutil
We just released a new version of our library! 🎉 It includes fixes and several new features, including PathMatch, MatchNodePath for string path matching; ResolvePath() and IsAbsPath(); ToAbsPath(); SearchNameUp(), VarReplacer support NotFound handler & default value; basic-auth build; EachAnyMap. Check it out now on GitHub: https://github.com/gookit/goutil #newrelease #opensource
-
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.
- Release v0.6.1 · gookit/goutil
-
How to wrap the error best?
gookit/goutil/errorx provide an enhanced error implements for go, allow with stacktraces and wrap another error.
- Question: Custom argument parsing with flag ?
-
gookit/goutil - Useful utils package for the Go
More utils and usage please see README https://github.com/gookit/goutil/blob/master/README.md
go-baseutils
-
Introduction to the Gkit concurrent component
Best practices for channel in concurrency, including fan_in,fan_out,map_reduce,or_done,orderly,pipeline,stream,generic version can be found at https://github.com/songzhibin97/go-baseutils/tree/main/app/bconcurrent
-
Introduction to the Gkit cache component
Cache-related components > buffer & mbuffer provide similar functionality, buffer has more encapsulation and implements some of the io interfaces, while mbuffer is just a memory cache. > local_cache provides a local data cache, and also has some expiry mechanisms, you can set the expiry time, and regularly clean up the expired data, but he is now older, if needed there is a generic version https://github.com/songzhibin97/go-baseutils/blob/main/ app/bcache > singleflight wraps golang.org/x/sync/singleflight to prevent the impact of changes
What are some alternatives?
argparse - Argparse for golang. Just because `flag` sucks
easygen - Easy to use universal code/text generator
protoargs - Code generated C++11/Python/Rust/Go command line arguments parser, based on protobuf configuration
genesis - All generic functions for Go you ever need!
exfatprogs - exFAT filesystem userspace utilities
gkit - A collection of basic usability component tools dedicated to providing micro-services and single services, drawing on some excellent open source project features such as kratos, go-kit, mosn, sentinel, gopkg core components. I hope you will use and mention issue and pr more often.
dot - Dot: A powerful Go package simplifying navigation and manipulation of complex data structures via dot-separated paths. Features include insertion into struct fields, maps, arrays, slices, and channels, along with robust error handling and support for diverse map keys.
queue - ⏪️ Go package providing multiple queue implementations. Developed in a thread-safe generic way.
go-httpheader - A Go library for encoding structs into Header fields.
slicer - Utility class for handling slices
errors - Simple error handling primitives
disco-cart - WIP Cartridge and BIOS dumper for the V-Smile