snaky
errors
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.
snaky
-
Share Your Code.. Share your most unique piece of Go code.
1 - Expired domain scrapper => https://github.com/twiny/spidy 2 - A sample & efficient web crawler => https://github.com/twiny/wbot 3 - A mini blockchain scanner => https://github.com/twiny/blockscan 4 - A Snake Game => https://github.com/twiny/snaky
-
Snake game implementation.
a Snake Game implication in Go using 2d array. https://github.com/twiny/snaky it runs on terminal window using github.com/gdamore/tcell/v2/termbox to render Snake movement.
errors
-
Share Your Code.. Share your most unique piece of Go code.
I have errors too ) https://github.com/nikandfor/errors
-
Proposal: errors.With(err, other error) error
Full code with few tests is here
-
Anyone using github.com/pkg/errors for stack traces?
I did the same :)
-
go-faster/errors: clear go error wrapping with caller (xerrors fork with Wrap)
I have errors package too.
-
Effective Error Handling in Golang
I want to add that when wrapping error you should add function name you've called not function name you are in. Caller of your function already knows what he is called and he'll wrap it if he needs to. Or even better use human message and function name you can get out of Program Counter attached to the error. Non-stdlib errors package can do that (I use my own).
-
e4: an error handling package
By the way I've experimented with errors either.
What are some alternatives?
spidy - Domain names collector - Crawl websites and collect domain names along with their availability status.
errors - A drop-in replacement for Go errors, with some added sugar! Unwrap user-friendly messages, HTTP status code, easy wrapping with multiple error types.
aio - Read, Write and Play Audio using FFmpeg, FFprobe and FFplay.
simplerr - Advanced Go error handling, made simple
v2ray-core - A platform for building proxies to bypass network restrictions.
blockscan - a mini blockchain scanner
go-typescript - Compile and run Typescript code natively in Go
pcre - Pure-Go port of the PCRE2 regular expression engine.
stringdedup - String deduplication package for Go
errors - Simple error handling primitives
rclone - "rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
errors - Go error library with error portability over the network