Structs are important data types in golang and mostly used type too. Since golang does not support concept of inheritance that’s why structs take major load of data types. Structs support default datatypes like string, int etc to built custom data types

#go #golang #webdev

Golang Tutorial - Structs in Golang
13.15 GEEK