#Methods

1 posts

Go Basics #6 Structs and Methods
7 min read

Go Basics #6 Structs and Methods

Defining user types with struct and attaching methods, value vs pointer receivers, and the embedding pattern.