mamot.fr is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mamot.fr est un serveur Mastodon francophone, géré par La Quadrature du Net.

Server stats:

3.5K
active users

#golang

103 posts75 participants9 posts today

errors.As() checks for the error type, whereas errors.Is() checks for the exact error value. Interesting read about Errors in #golang - and there is also a cat meme in the middle of the blog post! And then, it continues with pointers to pointers to error values or how about a pointer to an empty interface? adrianlarion.com/golang-error-

adrianlarion.comGolang error handling demystified. errors.Is(), errors.As(), errors.Unwrap(), custom errors and more – Adrian Larion