Given two different structs with some fields that are shared, and a slice that contains both.
package main import