Structs & Methods in Go
In this video, I’ve shown how to create Structs and Methods.
Structs are custom types that a developer can create in Golang.
Methods are like functions but have an extra part (receiver) and belong to a Struct.
And more…
Resources:
– Go Programming Playlist: https://youtube.com/playlist?list=PLfwcrqlHxOT99G-qhAR68eFsweeOf9EdW
0:00
1:57 Struct Tags
3:29 Nested structs
5:23 Anonymous Struct & Fields
7:02 Methods