errors
go-c2dmc
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.
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.
go-c2dmc
-
Share Your Code.. Share your most unique piece of Go code.
I also built go-c2dmc, a package utilizing the go-colorful library to compute the nearest-matching DMC thread (thread for sewing, cross stitching, etc.) color to RGB and other color-space values (such as LAB and HSV). I haven’t touched it in quite some time, but I’m also planning on adding the ability to select from pre-defined color pallets to match to, as well as creating custom color pallets to match to.
-
New Open source Go projects looking for contributors
I don’t have a contributor guide written for either of them, but feel free to help with the few issues in either this or this package I’ve written and released. They’re super simple things, but I’ve been rather busy at work and in life. So I haven’t had the time to address them. If you want to contribute, feel free to send me a DM with any questions!! Otherwise, just fork the repo(s) and just open a PR once you’re ready for the changes to be merged. I’ll review it asap!!
-
Next month I'll start working at a company as a Backend Developer and will be mostly using Go. How can I better prepare myself?
As far as projects to study go, I’ll start off with a shameless plug of two Go packages I’ve written, myself. This one is for converting between RGB (and other color space formats) to the nearest matching DMC thread color. This one is admittedly an extremely unidiomatic package (it’s completely opposite of how you should do things in Go) for supporting dynamic queries in Go without headaches or pre-defining “model” structs to hold each row of your query results. It’s something that can be useful, but it’s also built to showcase making the language work for a use case it wasn’t originally meant to support. If you wanna take a look at them, feel free. Also, I suggest looking at the testify repo. It’s an EXTREMELY popular testing library, and it’s also structured well.
-
Open source Go projects to contribute (beginners)
I’m the creator of https://github.com/syke99/go-c2dmc a Go package for converting RGBA, LAB, and Hexcode color values to the nearest matching DMC thread color. It’s a bit niche of a package, and it’s been a few months since I’ve worked on it, but I’m always open to contributors and maintainers joining the project. If anyone would like to contribute and/or be a maintainer, DM me and we can discuss more
- Created my first ever Go package!!
What are some alternatives?
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.
access-key-rotator - A PoC how to rotate your IAM access keys and store them in Github secrets
simplerr - Advanced Go error handling, made simple
go-structure-examples - Examples for my talk on structuring go apps
blockscan - a mini blockchain scanner
rss-bot - Telegram bot for RSS feeds
pcre - Pure-Go port of the PCRE2 regular expression engine.
lrpc - Simple, lightweight, multi-codec RPC library for Go.
snaky - snake game implementation using 2d array in Go
keploy - Test generation for Developers. Generate tests and stubs for your application that actually work!
errors - Simple error handling primitives
geos - Geometry Engine, Open Source