Tutorial GoLang

Struct, Map, Array and Slice

Struct GO is not a traditional OO language and hence does not have concept of class. Instead structures are used for holding values. If you are familiar with Java or .Net (may be true for some other OO languages too), you can co-relate struct to beans. Here, we have defined Person of type struct, to… Continue reading Struct, Map, Array and Slice