Thank you for your answers. But I have something else in mind
I Want to print array of structures:
type IO1b_t **[]**struct {
ID uint8
Val uint8
}
type IO2b_t **[]**struct {
ID uint8
Val uint16
}
And I do not known how to do for cycle:
for _,value := range rec // rec is interface that gets struct array.