cgo-struct-array golang struct array to cgo struct array thanks C Programming Structure and Pointer Pass struct and array of structs to C function from Go