Embedding in StructsEmbedding in StructsEmbedded types (such as mutexes) should be at the top of the field list of astruct, and there must be an empty line separating embedded fields from regularfields. BadGood type Client struct { version int http.Client} type Client struct { http.Client version int}