go-baseutils
gkit
go-baseutils | gkit | |
---|---|---|
2 | 4 | |
18 | 296 | |
- | - | |
4.9 | 6.1 | |
2 months ago | 18 days ago | |
Go | Go | |
Apache License 2.0 | 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.
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
gkit
-
Introduction to the Gkit gctuner component
More modules to use: https://github.com/songzhibin97/gkit
-
Introduction to the Gkit egroup component
> ErrorGroup, compared with sync.ErrorGroup, adds a fault tolerance mechanism to prevent wild goroutine panic resulting in abnormal system exit More modules to use: https://github.com/songzhibin97/gkit
-
Introduction to the Gkit cache component
More modules to use: gkit
-
A bit of a useful library, selling and boasting.
songzhibin97/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. (github.com)
What are some alternatives?
easygen - Easy to use universal code/text generator
flaggy - Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies.
genesis - All generic functions for Go you ever need!
kingpin - CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser
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. Go 常用的一些工具函数:数字,字符串,数组,Map,结构体,反射,文本,文件,错误,时间日期,特殊处理,格式化,常用信息获取等等
urfave/cli - A simple, fast, and fun package for building command line apps in Go
queue - ⏪️ Go package providing multiple queue implementations. Developed in a thread-safe generic way.
termui - Golang terminal dashboard
color - Color package for Go (golang)
elvish - Powerful scripting language & Versatile interactive shell
termbox-go - Pure Go termbox implementation
gocui - Minimalist Go package aimed at creating Console User Interfaces.