Structs and Interfaces in Go : What, Why and How
The Problem (Before Structs and Interfaces)
Imagine you're building a messaging app. You need to store user information, a name, an email, and an age. Easy right, Most beginners start like this:
userN
kaushik-003.hashnode.dev6 min read