Gopher Tested, Beard Approved! - Go / Golang Testing Crash Course | #feurious #golang
Donald Feury
Its not uncommon to change code you've already written for various reasons. The problem is we tend to break it when we do that. So what do you do? You write tests!
The go standard library has a testing package built into it, which works surprisingly well. I get you up to speed on how to write a basic test and a table drive test to back up any code changes you may make to your existing code.
My Gear - https://kit.co/dfeury
Scripts Repository - https://gitlab.com/dak425/scripts Dotfiles Repository - https://gitlab.com/dak425/dotfiles
Outro Song - https://youtu.be/AnGomWLTOrI
Support the Channel
Paypal - https://paypal.me/feurious Zelle - feurious@protonmail.com Amazon - https://amzn.to/3b8IMZH StreamElements - https://streamelements.com/donaldfeury/tip
Video Platforms
YouTube - https://youtube.com/DonaldFeury LBRY - https://lbry.tv/@dfeury:5 Bittube - https://bittube.tv/profile/dfeury Bitchute - https://www.bitchute.com/channel/dfeury/
Social Links
Email - feurious@protonmail.com Twitter - https://twitter.com/FeuryDonald Discord - https://discord.gg/86gqHY5 Dev.to - https://dev.to/dak425 Medium - https://medium.com/@highlordazurai425 ... https://www.youtube.com/watch?v=Pw2lqA87vEI
50349538 Bytes