go101
errors
Our great sponsors
go101 | errors | |
---|---|---|
41 | 30 | |
5,378 | 7,511 | |
- | - | |
7.2 | 0.2 | |
8 days ago | over 2 years ago | |
HTML | Go | |
GNU General Public License v3.0 or later | BSD 2-clause "Simplified" License |
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.
go101
-
The Journey Ahead: My 6-Month Plan to Master GoLang
Go101: An in-depth guide that explores Go's internals, perfect for understanding the language at a deeper level.
- How to learn go from zero?
-
Perfect Golang learning roadmap
How about this: https://go101.org/ might help :)
-
Resources for an experienced programmer wanting to learn Go
Go 101 books, which cover every corner of the language itself (syntax, semantics, compiler and runtime implementation) and make more detailed explanations than the official docs in several points. (Author here)
- I know JavaScript and looking for Go learning resource
-
Senior engineer here trying to pick up Go for jobs. What resources can you recommend me to cover as much ground as possible
https://go101.org/ - read this.
-
Best up-to-date Golang book
Best is a subjective word, but all Go 101 books are up-to-date. They are updated frequently. (Author here)
-
Most modern Go book?
Go 101 books (https://go101.org/). Always up-to-date. (Author here).
- Ghostly is a simple, lightweight, and fast full-stack framework for Golang
-
Thirteen Years of Go
overall balance and flexibility: https://github.com/go101/go101/wiki/The-main-sell-point-of-G...
errors
-
Show HN: Error return traces for Go, inspired by Zig
Can you explain why we should this over https://github.com/pkg/errors?
- Error handling and serializing
-
What am I supposed to be doing with errors?
Also - there are some error handling utils that allow you to wrap errors before passing: https://github.com/pkg/errors
-
How to wrap the error best?
Prefer using errors.Wrap and errors.Wrapf from https://github.com/pkg/errors . It's frozen because they don't want to add features, waiting for a re-write of error handling in Go2.
- mdobak/go-xerrors: Yet another error handling library.
-
When ia a good time to panic?
And for "real programs" you can use https://github.com/pkg/errors (if you want stack traces)
-
My next client wants to redevelop a java Webapp with go
pkg/errors or stdlib errors - Error handling, but I wrote my own package for that tailored to my projects' needs. (FYI primalskill/errors but please don't use it as it's not production-ready yet and it will change a lot)
-
What are some good open source project to read when learning Go?
https://github.com/pkg/errors - errors with stack traces
-
Anyone using github.com/pkg/errors for stack traces?
The pkg.go.dev page lists 14k+ projects importing it, but the Github repository has been archived which would seem to discourage use. I'm also not a huge fan of the naming conflict with the stdlib errors package. The README notes it went into maintenance mode but it appears this, too, has passed.
-
go-faster/errors: clear go error wrapping with caller (xerrors fork with Wrap)
The pkg/errors and xerrrors are not maintainted
What are some alternatives?
zerolog - Zero Allocation JSON Logger
autoflags - Populate go command line app flags from config struct
go-multierror - A Go (golang) package for representing a list of errors as a single error.
logrus - Structured, pluggable logging for Go.
bitio - Optimized bit-level Reader and Writer for Go.
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
uuid - Generate, encode, and decode UUIDs v1 with fast or cryptographic-quality random node identifier.
errorx - A comprehensive error handling library for Go
go-chat-bot - IRC, Slack, Telegram and RocketChat bot written in go
go - The Go programming language
vfs for golang - Virtual filesystem library written in golang
chi - lightweight, idiomatic and composable router for building Go HTTP services