The documentation states: Anonymous struct fields are usually marshaled as if their inner exported fields were fields in the outer struct.
For examble: