go-simpex
errors
Our great sponsors
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-simpex
-
Share Your Code.. Share your most unique piece of Go code.
I created a simpler and faster alternative to regexp, called simpex: https://github.com/tobiassjosten/go-simpex
-
Guys, when using the regexp package, in reporting errors how do I need to fix this.
I might be biased here (being the author of the lib) but I think, in your case, you’re way better off using simpex. It’d be a lot faster and much simpler.
-
Text matching faster and simpler than regexp
Hi! Long-time lurker, first-time poster. :) I just published my very first own open source library for Go and would love your input: https://github.com/tobiassjosten/go-simpex
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?
xurls - Extract urls from text
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.
jio - jio is a json schema validator similar to joi
simplerr - Advanced Go error handling, made simple
errdetail - Wrap multiple errors in one Go error type.
blockscan - a mini blockchain scanner
ytcast - cast YouTube videos to your smart TV from command-line
pcre - Pure-Go port of the PCRE2 regular expression engine.
validator - :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
snaky - snake game implementation using 2d array in Go
env - 🔍 Load environment variables into a config struct
errors - Simple error handling primitives