Learning Golang: Versioning Tools as Dependencies using Go Modules

preview_player
Показать описание
How can we add tools written in Go to our dependencies? How can I track tool dependencies for a module? How can we manage tools using Go Modules? With the idea of versioning them, as well as to make sure we have all their dependencies as part of our repository, and let's not forget we can also add dependabot to make sure those are updated when the versions are released.

Welcome to another Learning Go video! In this episode I'm sharing with you how you how to add Go/Golang tools as dependencies into your project using the "Tools as Dependencies" paradigm which was unofficially introduced when Go Modules were added to the toolchain.

---

RELEVANT LINKS

00:00 - Start
00:10 - Using direnv as a sandbox Go/Golang tool
02:35 - Defining Go/Golang tools as dependencies
05:22 - Using dependabot for Go/Golang tool dependencies
06:03 - Adding a new Go/Golang tool dependency
09:22 - Go/Golang Tools as Dependencies Conclusion

---

Who am I:

Hello👋🏼! I'm Mario, a Hands-on Software Architect and Lead Backend Engineer with more than 16 years of professional experience building all kinds of software including on-premise Industrial Automation Systems, Linux Accessibility Desktop and Browser Components as well as Distributed Advertising Microservices.

Every week I will share with you different topics I've learned while working for small startups and large companies including the processes I've followed over the years for successfully delivering complex enterprise systems from start to end.

Subscribe if you like Software Development, Software Architecture and Systems Design!

Keep it up. Don't give up!

#golang #microservices #programming

--- Our affiliate links below

--- Our Vlog Channel

Рекомендации по теме
Комментарии
Автор

Your tutorials are fantastic, you're a real architect. I'm a dev and am learning so much, like we're pairing. Thanks

mj-npsy
Автор

Mario, You are awesome! Just letting you know. Thanks.

sta_____rk
Автор

What are your thoughts on using go run with a version tag instead?

kaviisuri
Автор

Could you share your shell and nvim configuration?

robertjmccabe
Автор

Mario please speak slowly your next video tutorials.

axrorabduganiyevich