You might already be using this vet command in Go without noticing that you are using it. We will cover everything about the vet command in this video. If you also want to know what build tags are, feel free to check out this video:
https://youtu.be/HFIBORHEZsg
📝 Description
The vet command is a command that lets you have a static analysis tool to check your code for issues, suspicious patterns, or wrong code that will never be executed. You will learn the following things:
• What is the vet command
• How can you use the vet command
• How your editor might leverage the analysis package (based on the vet command)
• What is b.Loop in Go 1.24
⏳ Timestamps:
00:00 - Introduction
00:20 - What is the vet command?
01:04 - How to use vet?
02:20 - Examples
06:22 - Outro
👋 Hey there!
If you are new to this channel: Hey 👋 my name is Flo and I am a professional software engineer with a passion for coding in Golang, TypeScript, JavaScript, and Rust. This channel is where I share that passion and dive into the exciting world of software engineering.
📨 Support and Connect!
Buy me a coffee: https://www.buymeacoffee.com/florianwoelki
Become a member. https://www.youtube.com/@FloWoelki/membership
Discord: https://discord.gg/TnA7drJ
Instagram: https://www.instagram.com/flowydev/
LinkedIn: https://www.linkedin.com/in/florian-woelki/
TikTok: https://www.tiktok.com/@florianwoelki
GitHub: https://github.com/FlorianWoelki
📝 Copyright Notice
The original Go Gopher version is originally designed by Renée French (Source: https://go.dev/blog/gopher License details: https://creativecommons.org/licenses/by/4.0/). The gopher used in the video and thumbnail is inspired by this author.
#golang #vet #command