Свершилось чудо!
@alek_si и @webdeva выпустили альфа-эпизод подкаста "От кода до прода" про Golang,
менеджмент зависимостей и интервью с Барухом Садогурским
Сайт (временный): https://fromcodetoprod.com
@alek_si и @webdeva выпустили альфа-эпизод подкаста "От кода до прода" про Golang,
менеджмент зависимостей и интервью с Барухом Садогурским
Сайт (временный): https://fromcodetoprod.com
X (formerly Twitter)
Elena Grahovac 💙💛 (@webdeva) on X
Hello, world! I'm looking for my next role — onsite in Berlin or remote in Germany. Ideal: Engineering Manager in Go, Developer Experience, or Infrastructure, but also open to impactful IC roles. CV: https://t.co/R2pEyTJqYO
Forwarded from 🇺🇦 Go for two :)
Note #51: errwrap
Аслан Фатих в твиттере порадовал новым тулом, который анализирует вызовы
Links:
- [1] https://github.com/fatih/errwrap
Аслан Фатих в твиттере порадовал новым тулом, который анализирует вызовы
fmt.Errorf() и заменяет дерективы %s, которые можно заменить на новые %w (начиная с go 1.13):$ errwrap -fix main.go
main.go:14:9: call could wrap the error with error-wrapping directive %w
diff --git a/main.go b/main.go
index 41d1c42..6cb42b8 100644
--- a/main.go
+++ b/main.go
@@ -11,5 +11,5 @@ func main() {
func foo() error {
err := errors.New("bar!")
- return fmt.Errorf("failed for %s with error: %s", "foo", err)
+ return fmt.Errorf("failed for %s with error: %w", "foo", err)
}
Links:
- [1] https://github.com/fatih/errwrap
☕️ Мерлин заваривает τσάι 🐌 pinned «Свершилось чудо! @alek_si и @webdeva выпустили альфа-эпизод подкаста "От кода до прода" про Golang, менеджмент зависимостей и интервью с Барухом Садогурским Сайт (временный): https://fromcodetoprod.com»
There's no group chat member more enigmatic than the cool person who you all assume has the chat on mute, but who then instantly chimes in with no delay the moment something relevant to them is mentioned.
https://xkcd.com/2235/
https://xkcd.com/2235/
☕️ Мерлин заваривает τσάι 🐌
Очень удивляет, когда в статью кладут картинки по мегабайту, которые имеют чуть менее чем никакое отношение к теме. То есть да, красиво. Но зачем?
Fatih Arslan
Using go/analysis to write a custom linter
We're going to write a custom linter using the new go/analysis framework which dramatically speeds up creating new linters.
👍1
Абсолютный шедевр
https://youtu.be/VM9JrhIckuo
https://youtu.be/VM9JrhIckuo
YouTube
DUDES OF HAZMAT - "Can of Whoop-ass"
Theo , Groves, and an A.T.F. special agent sneak into a deadly cult's fortress.
©2017 Drue Langlois
My patreon link:
https://www.patreon.com/drue_langlois?fan_landing=true
Buy one of the songs at: https://boldsaber.bandcamp.com/album/dudes-of-hazmat-songs…
©2017 Drue Langlois
My patreon link:
https://www.patreon.com/drue_langlois?fan_landing=true
Buy one of the songs at: https://boldsaber.bandcamp.com/album/dudes-of-hazmat-songs…