Joining Error Values in Go with errors.Join

  Рет қаралды 842

TutorialEdge

TutorialEdge

7 ай бұрын

Welcome Gophers! In this video, we'll be covering the new(-ish) errors.Join functionality and how you can use it to simplify your life when combining errors in Go!
Text Article: tutorialedge.net/golang/joini...
👨‍💻 Sign up and gain access to a growing list of premium courses on my site - tutorialedge.net/pricing/
✅ Subscribe and hit that 🔔 to get notified for all the latest tutorials!
🤓 / elliot_f
‎💻 tutorialedge.net
📹 / tutorialedge
🎥 Recording Setup
Microphone - amzn.to/3hvASys
Mic Boom - amzn.to/3o0cW8Q
Mouse - amzn.to/2WZMoZs
Monitor 1 - amzn.to/38IUlYy
Monitor 2 - amzn.to/3rBTZf7
Mount - amzn.to/3o3185V
USB-C Hub - amzn.to/3o2xRbw

Пікірлер: 5
@TimMattison
@TimMattison 7 ай бұрын
Coming from other languages error handling in Golang still "feels" inferior, but your explanation makes a huge difference in how I think about it. Thanks!
@Tutorialedge
@Tutorialedge 6 ай бұрын
Thanks for your comment Tim! I agree that other languages may have better error handling capabilities and that this can seem fairly cumbersome at first, but I have found it to be better at purposefully forcing the developer to think about how they handle errors. It's definitely preferential to some of the exception throwing/handling practices I've seen at some of my previous companies in languages like PHP for example.
@jayjay7333
@jayjay7333 7 ай бұрын
Nice tutorial. Please make one video on tracing the golang application. especially how to trace database query.
@nandugopalun1
@nandugopalun1 6 ай бұрын
I am having problem with ErrNoRows. It is actually giving me an empty record. err is not catching SQL: no rows in resultset. any clue.
@Tutorialedge
@Tutorialedge 6 ай бұрын
Would you be able to put up a go.dev/play/ link with the code so that I can have a look? Unfortunately, without the code, it's incredibly difficult for me to suggest what's gone wrong
C vs Python Speed Test #cpp #python #programming #code
0:25
Nicolai Nielsen
Рет қаралды 125 М.
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 10 МЛН
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,3 МЛН
Go Error Handling Best Practices & Advanced Tips
6:49
Golang Dojo
Рет қаралды 36 М.
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 830 М.
How it feels writing your first program in C# versus python…
0:59
LeMaster Tech
Рет қаралды 161 М.
What's new in Angular v17
5:08
Angular
Рет қаралды 41 М.
Beginner's Guide to Redis with Go!
11:27
TutorialEdge
Рет қаралды 5 М.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 124 М.
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 10 МЛН