In this video we will learn about Go Packages and Modules. We will learn about the DRY principle and reusable code and that go functions and packages help us stay DRY. We will learn how importing packages work and how we can pull in third party libraries outside of our Go Path using modules. We will use go mod init and go mod tidy for our package dependencies. If you wanna support my channel, you can buy me a coffee: ☕️ 🤍🤍buymeacoffee.com/nerdcademy Coffee make the code go!!! 💻 Programming Laptop 🤍kit.co/nerdcademy/framework-laptop 🎥 My Video Kit 🤍kit.co/nerdcademy/my-video-kit 🖥 Video Editing PC 🤍kit.co/nerdcademy/m1-mac-mini-setup All code found in this video will be at: 💻 🤍github.com/NerdCademyDev/golang #golang #nerdcademy
I can't possibly show you how much you have simplified this for me, I love you man. Thanks a lot
is this visual studio?
Key element that wasn't fully explained online for me that you made clear. The init was for the whole package, I kept on getting errors because I thought I had to init a mod for each file besides the main. Thanks so much, cleared that right up.
Nice and crisp video
That was easy and to the point ... Thanks!
Damn, I spent an unholy amount of time wondering why I can't access a field on a struct I created inside a module only to find out it's because I was using lowercase characters 🤦
Thank you for this tutorial.
Thanks it was very informative and it seems so easy ! I will continue to watch the video series about Go
Best introductory video on the topic, thank you so much
Thank you! This was a great video.
There seems to be a big weakness in the packaging system: if you fork a repo, then the import paths point to the upstream repo rather than your own. It seems that it would have been better if import paths defaulted to the current directory. Then you wouldn't have this problem.
very nice tutorial, thanks a lot !!!
Thank you dude! Searched for a hour didn’t find anything useful, then I found your video, you helped me so much truly. Thanks!
Many thanks for the video, pretty good explanation and narration, ty
Thank you so much dude, this was so helpful. I am trying to write an event sourcing library for go and it has been pain. The part about the full urls and ~src was just gold. It would've taken me at least another day to figure some of the import errors by myself.
Is there a standard package for png and jpg to load/save from/to a byte array of pixels?