Go Tutorial #6 - Structs

Published: 15 March 2021
on channel: Esoteric Tech
793
46

Golang Tutorial - Structs

Structs are often considered Golang's version of a class. Golang structs are a way to store a group of related data. In this Golang tutorial I discuss what structs are, why you should use them and provide helpful code examples to illustrate how to work with structs in Golang. This video also provides some helpful pop-tips on embedded structs and structs tags.

⏲ Timestamps ⏲
00:00 Intro
01:00 What is a struct
02:00 Syntax for creating a struct type
03:10 Create an instance of a new type
05:06 Accessing fields
07:00 Anonymous strucs


On this page of the site you can watch the video online Go Tutorial #6 - Structs with a duration of hours minute second in good quality, which was uploaded by the user Esoteric Tech 15 March 2021, share the link with friends and acquaintances, this video has already been watched 793 times on youtube and it was liked by 46 viewers. Enjoy your viewing!