MENU

Fun & Interesting

Creating custom struct tags in Golang is awesome!

Flo Woelki 16,911 lượt xem 9 months ago
Video Not Working? Fix It Now

Creating custom struct tags in Golang is a must for every developer to simplify the lives of everyone! If you've liked this video and want more complex videos, have a look at this one as well: https://youtu.be/qcnbt4WqExw


📝 Description
Dive into the world of Go struct tags in this comprehensive tutorial! Learn how to create and implement your own custom struct tags, understand the power of reflection in Go, and build a robust validation system using these concepts. This video covers both basic and advanced implementations, providing clear explanations and practical code examples. Perfect for intermediate Go developers looking to level up their skills, but beginners will also gain valuable insights. Discover best practices, common pitfalls to avoid, and how to make your custom tags production-ready. Whether you're working on data validation, serialization, or database mapping, this video will equip you with the knowledge to leverage Go's struct tags effectively in your projects


⏳ Timestamps:
00:00 - Introduction
00:34 - What are Struct Tags?
01:15 - What is Reflection?
21:26 - Refactoring
24:16 - 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. Plus, I love using emojis and paper-based animations (so have a look for that if you want to find my videos).


📨 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


#golang #go #struct

Comment