type safeStructType … func (type2 *safeStructType) FieldByName(name string) StructField { … } func (type2 *safeStructType) Field(i int) StructField { … } func (type2 *safeStructType) FieldByIndex(index []int) StructField { … } func (type2 *safeStructType) FieldByNameFunc(match func(string) bool) StructField { … }