Welcome to tutorial no. 27 in Golang tutorial series. Go does not support inheritance, however, it does support composition. The generic definition of composition is “put together”. One example of composition is a car. A car is composed of wheels, an engine and various other parts. Composition by embedding structs Composition can be achieved in Go is by embedding one struct type into another. A blog post is a perfect example of composition.