Hi Everyone,
Let's try to understand, Struct and Interface in Go programming language
Struct -
struct is also called as structure, so normally we have some built in data types which are provided by the language, such as int, float64, string, bool etc
but suppose we want to create our own custom data type, how can we achieve this ? so in order to solve this problem we can use struct which helps us to create our own custom data type in which related data is grouped together, once we have this new custom data type, we can use it in our programs, like when when declaring a variable or when declaring and assigning the value








